错误提示 Notice: Undefined index: blh91_cart in E:\wampserver\www\yg.cjg.com\app\lib\BaseUtils.class.php(10) : regexp code(1) : eval()'d code on line 3Notice: Undefined index: blh91_cart in E:\wampserver\www\yg.cjg.com\app\lib\BaseUtils.class.php(10) : regexp code(1) : eval()'d code on line 3Warning: require_once(app/PDO.class.php) [function.require-once]: failed to open stream: No such file or directory in E:\wampserver\www\yg.cjg.com\config.php on line 8Fatal error: require_once() [function.require]: Failed opening required 'app/PDO.class.php' (include_path='.;C:\php5\pear') in E:\wampserver\www\yg.cjg.com\config.php on line 8
<?php
ob_start();
session_start();
require_once("./config.php"); /*echo error info*/
//SlightPHP::setDebug(true);
define('APP_ROOT',str_replace("\\",DIRECTORY_SEPARATOR,dirname(__FILE__)). DIRECTORY_SEPARATOR);SlightPHP::setAppDir("app");
SlightPHP::setDefaultZone("controller");
SlightPHP::setDefaultPage("main");
SlightPHP::setDefaultEntry("index");SlightPHP::setUrlFormat("-");
SlightPHP::setUrlSuffix("html");//SlightPHP::setZoneAlias("controller","home");SDb::setConfigFile(SlightPHP::$appDir . "/components/@db.ini.php");SlightPHP::setSplitFlag("-_.");if(($r=SlightPHP::run())===false){
header("location:404.html");
}else{
echo $r;
}
?>
config.php:
<?php
require_once("./SlightPHP/SlightPHP.php");
define("PLUGINS_DIR","./SlightPHP/plugins");
function __autoload($class){
if($class{0}=="S"){
require_once(PLUGINS_DIR."/$class.class.php");
}else{
require_once(SlightPHP::$appDir."/".str_replace("_","/",$class).".class.php");
}
}?>
Notice: Undefined index: blh91_cart in E:\wampserver\www\yg.cjg.com\app\lib\BaseUtils.class.php(10) : regexp code(1) : eval()'d code on line 3Notice: Undefined index: blh91_cart in E:\wampserver\www\yg.cjg.com\app\lib\BaseUtils.class.php(10) : regexp code(1) : eval()'d code on line 3Warning: require_once(app/PDO.class.php) [function.require-once]: failed to open stream: No such file or directory in E:\wampserver\www\yg.cjg.com\config.php on line 8Fatal error: require_once() [function.require]: Failed opening required 'app/PDO.class.php' (include_path='.;C:\php5\pear') in E:\wampserver\www\yg.cjg.com\config.php on line 8