From 152270a756081ca423d2025d6524fb7f63ac1415 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 2 Jul 2015 16:35:31 -0400 Subject: [PATCH 1/1] Add start to migrate script --- index.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 index.php diff --git a/index.php b/index.php new file mode 100644 index 0000000..3303dc1 --- /dev/null +++ b/index.php @@ -0,0 +1,27 @@ +'.print_r(CONN_STR, true).''; +if (isset($applicationConfig)) { + echo '
Yes, found $applicationConfig
'; +} else { + echo '
No, did not find $applicationConfig
'; +} +if (class_exists('Toolkit_Database')) { + $dbh = Toolkit_Database::getInstance(); +} +if (!$dbh) { + die('Error: no $dbh'); +} + +$sql = " + SELECT * + FROM pages +ORDER BY pos"; +echo 'here'; -- 2.17.1