diff options
author | redmatrix <git@macgirvin.com> | 2016-03-31 20:15:47 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-31 20:15:47 -0700 |
commit | 0cda43145629586e6110e83fa2356e1c4ee4811a (patch) | |
tree | cd971890c1731062fe2168959b29f85e9e070346 /index.php | |
parent | bbfe4de3107a1eb8293f4ee6b620f7e27bf26dbf (diff) | |
download | volse-hubzilla-0cda43145629586e6110e83fa2356e1c4ee4811a.tar.gz volse-hubzilla-0cda43145629586e6110e83fa2356e1c4ee4811a.tar.bz2 volse-hubzilla-0cda43145629586e6110e83fa2356e1c4ee4811a.zip |
create miniApp to convert existing settings files to the static App class
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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); |