mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
调试模式下不读取字段缓存文件
This commit is contained in:
@@ -1744,7 +1744,7 @@ class Query
|
|||||||
$schema = $guid;
|
$schema = $guid;
|
||||||
}
|
}
|
||||||
// 读取缓存
|
// 读取缓存
|
||||||
if (is_file(RUNTIME_PATH . 'schema/' . $schema . '.php')) {
|
if (!App::$debug && is_file(RUNTIME_PATH . 'schema/' . $schema . '.php')) {
|
||||||
$info = include RUNTIME_PATH . 'schema/' . $schema . '.php';
|
$info = include RUNTIME_PATH . 'schema/' . $schema . '.php';
|
||||||
} else {
|
} else {
|
||||||
$info = $this->connection->getFields($guid);
|
$info = $this->connection->getFields($guid);
|
||||||
|
|||||||
Reference in New Issue
Block a user