欢迎来到DESIPO.COM,外贸电子商务整合专家!登录 | 免费注册 ?
会员优惠 | 软件下载 | 客服中心 | 收藏本站 | 购物车[0件]


开发

选择分类目录:
上一页12下一页212条信息
  • 关闭ZENCART头部安装文件夹和配置文件读写错误警告
    如何关闭ZENCART头部安装文件夹和配置文件读写错误警告? 此部分显示的判断在目录includes\init_includes下面的init_header.php文件里。 注释 /* if (WARN_INSTALL_EXISTENCE == 'true') {   $check_path = realpath(dirname(basename($PHP_SELF)) . '/zc_install');   if (is_dir($check_path)) {     $messageStack->add('header', sprintf(WARNING_INSTALL_DIRECTORY_EXISTS, ($check_path == '' ? '..../zc_install' : $check_path)), 'warning');   } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') {   $check_path = realpath(dirname(basename($PHP_SELF)) . '/includes/configure.php');   if (file_exists($check_path) && is__writeable($check_path)) {     $messageStack->add('header', sprintf(WARNING_CONFIG_FILE_WRITEABLE, ($check_path == '' ? '..../includes/configure.php' : $check_path)), 'warning');   } }*/ 此部分内容即可。
    2014年 01月 15日
  • ZEN CART 修改订单编号为时间戳(类似1394650644)
    ZEN CART 修改订单编号为时间戳(类似1394650644),让原本以ID做为订单号的系统更加人性化。 修改方法如下图所示: 文件为CLASSES目录下面的order.php类文件 在生成订单后面修改下原始订单号,用时间戳来表示。     $insert_id = $db->Insert_ID();         //修改下订单号         //$newid = $insert_id % 100 + ((int) date('mdH')) * 1000 + ((int) date('y')-10)1000000000;     $newid = time();     $db->Execute("update orders set orders_id='".$newid."' where orders_id='".$insert_id."'");     $insert_id = $newid; 效果
    2014年 03月 14日
上一页12下一页212条信息
Copyright © 2012-2013 迪赛普科技 版权所有

合作邮箱:admin@desipo.com 合作QQ:76052083