From: Steve Sutton Date: Thu, 2 Jul 2015 20:35:31 +0000 (-0400) Subject: Add start to migrate script X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=152270a756081ca423d2025d6524fb7f63ac1415;p=user%2Fsteve%2FToolboxContentMigrator.git Add start to migrate script --- 152270a756081ca423d2025d6524fb7f63ac1415 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';