--- /dev/null
+<?php
+// read in setup file
+ob_start();
+require_once '../setup.phtml';
+ob_end_clean();
+
+if (!defined('CONN_STR')) {
+ die('There is no define for CONN_STR');
+}
+echo '<pre>'.print_r(CONN_STR, true).'</pre>';
+if (isset($applicationConfig)) {
+ echo '<pre>Yes, found $applicationConfig</pre>';
+} else {
+ echo '<pre>No, did not find $applicationConfig</pre>';
+}
+if (class_exists('Toolkit_Database')) {
+ $dbh = Toolkit_Database::getInstance();
+}
+if (!$dbh) {
+ die('Error: no $dbh');
+}
+
+$sql = "
+ SELECT *
+ FROM pages
+ORDER BY pos";
+echo 'here';