Update cli.php
This commit is contained in:
parent
201d3a4710
commit
4dacbbf332
5
cli.php
5
cli.php
|
@ -3,12 +3,14 @@
|
||||||
/**
|
/**
|
||||||
* @file cli.php
|
* @file cli.php
|
||||||
* @created_on 2018-07-22
|
* @created_on 2018-07-22
|
||||||
* @created_on 2020-01-28
|
* @created_on 2020-04-20
|
||||||
* @author Go Namhyeon <gnh1201@gmail.com>
|
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||||
* @brief ReasonableFramework CLI mode
|
* @brief ReasonableFramework CLI mode
|
||||||
* @cvs http://github.com/gnh1201/reasonableframework
|
* @cvs http://github.com/gnh1201/reasonableframework
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// example: php cli.php --route=welcome
|
||||||
|
|
||||||
define("_DEF_VSPF_", true); // compatible to VSPF
|
define("_DEF_VSPF_", true); // compatible to VSPF
|
||||||
define("_DEF_RSF_", true); // compatible to RSF
|
define("_DEF_RSF_", true); // compatible to RSF
|
||||||
define("APP_DEVELOPMENT", false); // set the status of development
|
define("APP_DEVELOPMENT", false); // set the status of development
|
||||||
|
@ -61,7 +63,6 @@ if(!empty($memory_limit)) {
|
||||||
@ini_set("suhosin.memory_limit", $memory_limit);
|
@ini_set("suhosin.memory_limit", $memory_limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// autoload module
|
// autoload module
|
||||||
if(!array_key_empty("enable_autoload", $config)) {
|
if(!array_key_empty("enable_autoload", $config)) {
|
||||||
set_autoloader();
|
set_autoloader();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user