尚未开发完成,暂时保存
This commit is contained in:
34
temporary file/notes.txt
Normal file
34
temporary file/notes.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
标签:免费应用推荐,控制中心,控制面板,Z-Blog PHP,张小弟之家
|
||||
|
||||
1.请打开开发模式检查main.php;
|
||||
检查完毕,已修正开发模式下报错的问题。
|
||||
|
||||
2.include.php中的$blogpath建议用ZBP_PATH常量代替;
|
||||
已修改。
|
||||
|
||||
3.不要用<? ?>,请使用<?php ?>;
|
||||
已修改。
|
||||
|
||||
4.在我本地还有一些奇怪的问题;
|
||||
这个问题我这里调试的时候没有发现,可能是由于上面几个问题引起,或者我个人是打开/关闭子插件的时候引起,所以修改了一下打开/关闭子插件的逻辑。
|
||||
|
||||
修改后在开发模式和正常模式下经测试均可使用;另外,修改了几处相对路径问题,可支持非根目录下安装的ZBlog
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ZBlogException::SuspendErrorHook();
|
||||
/* 可能会产生错误的代码 */
|
||||
ZBlogException::ResumeErrorHook();
|
||||
|
||||
// require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.php';
|
||||
|
||||
// include.php中的$blogpath建议用ZBP_PATH常量代替
|
||||
|
||||
┌
|
||||
├─
|
||||
│
|
||||
├─
|
||||
└
|
Reference in New Issue
Block a user