zen_Cart二次开发笔记.doc

  1. 1、本文档共22页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
zen_Cart二次开发笔记

Cen Cart 二次开发 Author:leafage Q:317856394 跟着序程跑(安装略) http://localhost/testCart/index.php require(includes/application_top.php); //包含以下重要信息 define(DEBUG_AUTOLOAD, false); //debug include(includes/configure.php); /** * if main configure file doesnt contain valid info (ie: is dummy or doesnt match filestructure, display assistance page to suggest running the installer) 如果主要的配置文件不包含有效的信息(即:是假的或不匹配filestructure,显示帮助页面,建议在运行安装程序) */ if (!defined(DIR_FS_CATALOG) || !is_dir(DIR_FS_CATALOG./includes/classes)) { $problemString = includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set; require(includes/templates/template_default/templates/tpl_zc_install_suggested_default.php); exit; } require(includes/initsystem.php); 进入这个文件是一个加载文件器的初始工作 $base_dir = DIR_WS_INCLUDES . auto_loaders/; if (file_exists(DIR_WS_INCLUDES . auto_loaders/overrides/ . $loader_file)) { $base_dir = DIR_WS_INCLUDES . auto_loaders/overrides/; } /** * load the default application_top autoloader file. */ include($base_dir . $loader_file); if ($loader_dir = dir(DIR_WS_INCLUDES . auto_loaders)) { while ($loader_file = $loader_dir-read()) { $matchPattern = /^ . $loaderPrefix . \./; if ((preg_match($matchPattern, $loader_file) 0) (preg_match(/\.php$/, $loader_file) 0)) { if ($loader_file != $loaderPrefix . .core.php) { $base_dir = DIR_WS_INCLUDES . auto_loaders/; 加载了config.core.php和paypal_ipn.core.php这两个文件 config.core.php /** * 加载了下面的文件并放入$autoLoadConfig 数组里 * require(DIR_WS_CLASSES . class.base.php); * require(DIR_WS_CLASSES . class.notifier.php); * $zco_notifier = new notifier() * require(DIR_WS_CLASSES . mime.php); * require(DIR_WS_CLASSES . email.php); * require(DIR_WS_CLASSES . boxes.php); * require(DIR_WS_CLASSES . category_tree.php); * require(DIR_WS_CLASSES . cache.php); * require(DIR_WS_CLASSES . sniffer.php); * require(DIR_WS_CLASSES . shopping_cart.php); * require(DIR_WS_CLASSES . navigation_history.php); * re

文档评论(0)

cgtk187 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档