create miniApp to convert existing settings files to the static App class

This commit is contained in:
redmatrix
2016-03-31 20:15:47 -07:00
parent bbfe4de310
commit 0cda431456
7 changed files with 52 additions and 52 deletions

View File

@@ -9,12 +9,19 @@ function cli_startup() {
global $a, $db, $default_timezone;
if(is_null($a)) {
$a = new App;
$a = new miniApp;
}
if(is_null($app)) {
$app = new App;
}
if(is_null($db)) {
@include(".htconfig.php");
$a->convert();
if(! defined('UNO'))
define('UNO', 0);