upload preivew + es command

This commit is contained in:
xiaomlove
2022-04-01 23:13:42 +08:00
parent 5f6b3ceb53
commit 4172f7c07c
49 changed files with 347 additions and 126 deletions

View File

@@ -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);