From 4dacbbf332a97ca3a58f9fb5e0c255aece727b85 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 20 Apr 2020 21:28:04 +0900 Subject: [PATCH] Update cli.php --- cli.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli.php b/cli.php index 4aad18f..4adff7e 100644 --- a/cli.php +++ b/cli.php @@ -3,12 +3,14 @@ /** * @file cli.php * @created_on 2018-07-22 - * @created_on 2020-01-28 + * @created_on 2020-04-20 * @author Go Namhyeon * @brief ReasonableFramework CLI mode * @cvs http://github.com/gnh1201/reasonableframework */ +// example: php cli.php --route=welcome + define("_DEF_VSPF_", true); // compatible to VSPF define("_DEF_RSF_", true); // compatible to RSF define("APP_DEVELOPMENT", false); // set the status of development @@ -61,7 +63,6 @@ if(!empty($memory_limit)) { @ini_set("suhosin.memory_limit", $memory_limit); } - // autoload module if(!array_key_empty("enable_autoload", $config)) { set_autoloader();