|
@@ -0,0 +1,33 @@
|
|
|
+\thinkphp\library\think\Template.php
|
|
|
+修改函数parseTemplateFile($template)
|
|
|
+
|
|
|
+\thinkphp\library\think\Template.php
|
|
|
+178行及215行增加 (defined('TPL_CACHE_PRE') ? TPL_CACHE_PRE : '') .
|
|
|
+
|
|
|
+
|
|
|
+\thinkphp\library\think\Template.php
|
|
|
+184行增加如下代码.非必须
|
|
|
+if(input('get.md5template')&&login_user('groupid')==3){file_put_contents($template.'.md5',preg_replace('/<\?php if \(!defined\(\'THINK_PATH\'\)\) exit\(\); \/\*([^\*]+)\*\/ \?>/is', '<?php if (!defined(\'ROOT_PATH\')) exit();?>', file_get_contents($cacheFile)));}
|
|
|
+
|
|
|
+\thinkphp\library\think\db\Query.php
|
|
|
+1561行,解决一个BUG
|
|
|
+
|
|
|
+
|
|
|
+library\think\Model.php
|
|
|
+1721行,解决指针不在首位的问题
|
|
|
+
|
|
|
+
|
|
|
+thinkphp\library\think\App.php
|
|
|
+152行 增加对pjax 的设置项 配置文件增加 'default_pjax_return' => 'html',
|
|
|
+
|
|
|
+
|
|
|
+library\think\Request.php
|
|
|
+406 齐博增加,解决部分服务器的兼容问题
|
|
|
+
|
|
|
+
|
|
|
+\thinkphp\helper.php
|
|
|
+282行 url函数修改过
|
|
|
+
|
|
|
+
|
|
|
+\thinkphp\library\traits\controller\Jump.php
|
|
|
+47行与88行,分别把1与0调换了一下.
|