From 0cda43145629586e6110e83fa2356e1c4ee4811a Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 20:15:47 -0700 Subject: create miniApp to convert existing settings files to the static App class --- index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 87e0ff215..c4b47f6a8 100755 --- a/index.php +++ b/index.php @@ -16,7 +16,10 @@ if(file_exists('.htsite.php')) include('.htsite.php'); // our global App object -$a = new App; + +$a = new miniApp; + +$app = new App; /* * Load the configuration file which contains our DB credentials. @@ -31,6 +34,8 @@ App::$install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? f if(! defined('UNO')) define('UNO', 0); +$a->convert(); + App::$timezone = ((x($default_timezone)) ? $default_timezone : 'UTC'); date_default_timezone_set(App::$timezone); -- cgit v1.2.3