Mkphp程式解說
出自六年制學程
一、主函式
(一)設定區
- define('constantPath','/volume1/web/constant.php');
- define('themePath','/volume1/web/EM/theme.php');
- define('savePath','webContent.mkphp');
- define('outputPath','/volume1/web/printOut');
(二)基本載入
- include_once constantPath;
- if (!isset($_REQUEST['exec_type'])){echo "<link rel='stylesheet' type='text/css' media='all' href='".CLASS_HTML_PATH."/database/etable.css' />\n";}
- if(!class_exists('etable')){require_once(CLASS_FILE_PATH."/database/etable.php");}
- echo etable::js();