create miniApp to convert existing settings files to the static App class
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user