mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
取消 APP_DEBUG 常量 改为 App::$debug 属性获取 设置调试模式 改为 app_debug 配置参数 在应用配置文件中设置
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<?php if(APP_DEBUG) { ?>
|
||||
<?php if(\think\App::$debug) { ?>
|
||||
<div class="exception">
|
||||
<div class="message">
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
<span>V<?php echo THINK_VERSION; ?></span>
|
||||
<span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
|
||||
</div>
|
||||
<?php if(APP_DEBUG) { ?>
|
||||
<?php if(\think\App::$debug) { ?>
|
||||
<script>
|
||||
var LINE = <?php echo $line; ?>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user