帖子详情
 
 
  • [帝国cms教程]帝国cms声明$editor目录层次变量的教程
  • 白银会员 Ecmsphp开发中心 只看楼主 5 年前
  • 帝国cms声明$editor目录层次变量介绍,是教大家如何声明$editor目录层次变量的教程。


    此变量如果没有使用printerror()等函数可以不设置。

    默认$editor变量为0。

    当程序文件在/e/path/目录,$editor不用设置,也就是用默认0。

    当程序文件在/e/path/path2/目录,$editor=1。

    当程序文件在/e/path/path2/path3/目录,$editor=2。

    当程序文件在/e/path/path2/path3/path4/目录,$editor=3。


    以上是如何声明$editor目录层次变量的教程。

  • 收藏 推荐 打赏微信打赏 举报
共有条回复