zencart在main_page = index过程中,$code_page_directory这个变量极其重量,他用来调用不同页不同的参数,他由好几个字符串组成.
包含在includesinit_includesinit_sanitize.PHP 文件中
$current_page = $_GET['main_page'];
$current_page_base = $current_page;
$code_page_directory = DIR_WS_MODULES . ‘pages/’ . $current_page_base;
$page_directory = $code_page_directory;
其中$current_page为变化模块的参数,并且其中里面的DIR_WS_MODULES定义为define(‘DIR_WS_MODULES’, DIR_WS_INCLUDES . ‘modules/’);