codecamp

安装

安装

  1. 将压缩包放入环境目录并解压
  2. 访问项目地址,首次运行是会自动进入安装界面
  3. 按照提示填写直至安装完成

后台访问地址:http://你的域名/index.php?m=admin&o=core&t=login

m为应用名称 如不写 默认home

o为模块名称 如不写 默认core

t为方法名称 如不写 默认index

演示
新建菜单
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }