ecshop后台生成多个FCK编辑框

0 个评论
修改 文件路径: admin/includes/lib_main.php function create_html_editor($input_name, $input_value = '') { global $smarty; $editor = new FCKeditor($input_name); $editor->BasePath = '../includes/fckeditor/'; $editor->ToolbarSet = 'Normal'; ...
2011-10-14 / ecshop / 4,636 views浏览
阅读全文

关于ECSHOP后台无法登陆的问题

0 个评论
admin/includes/init.php 下305行: strpos(preg_replace('/:\d+/', '', $_SERVER['HTTP_REFERER']), $admin_path) === false 这是由于局域网中IP没有直接指向,造成解析完域名之后,再通过内部IP访问数据。此时的$_SERVER['HTTP_REFERER']是带域名的,$admin_path 是带IP的,所以判断为true。 症结在includes/cls_ecshop.php 的get_domain()函数...
2011-09-21 / ecshop / 5,679 views浏览
阅读全文