mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
upload preivew + es command
This commit is contained in:
@@ -11,6 +11,8 @@ require ROOT_PATH . 'include/constants.php';
|
||||
$withLaravel = false;
|
||||
if (file_exists(ROOT_PATH . '.env')) {
|
||||
require ROOT_PATH . 'include/eloquent.php';
|
||||
require ROOT_PATH . 'classes/class_cache_redis.php';
|
||||
$Cache = new class_cache_redis();
|
||||
$withLaravel = true;
|
||||
}
|
||||
define('WITH_LARAVEL', $withLaravel);
|
||||
|
||||
Reference in New Issue
Block a user