謨ー謐ョ蠎馴得謗・髞呵ッッ : モノモレトソア?ニヒ羹忞?シォセワセャボキィチャスモ。」
- D:\wwwroot\jtctian\wwwroot\SpeedPHPs\Drivers\mysql.php on line 78
73.
* @param dbConfig 謨ー謐ョ蠎馴?鄂ョ
74.
*/
75.
public function __construct($dbConfig)
76.
{
77.
$linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysql_pconnect' : 'mysql_connect';
78.
79.
$this->conn = $linkfunction($dbConfig['host'].":".$dbConfig['port'], $dbConfig['login'], $dbConfig['password']) or spError("謨ー謐ョ蠎馴得謗・髞呵ッッ : " . mysql_error());
mysql_select_db($dbConfig['database'], $this->conn) or spError("譌?豕墓伽蛻ー謨ー謐ョ蠎難シ瑚ッキ遑ョ隶、謨ー謐ョ蠎灘錐遘ー豁」遑ョ??);
80.
$this->exec("SET NAMES UTF8");
81.
}
82.
83.
/**
- D:\wwwroot\jtctian\wwwroot\SpeedPHPs\spFunctions.php on line 152
147.
if( TRUE == import($class_name.'.php')){
148.
$has_define = TRUE;
149.
}
150.
}
151.
if(FALSE != $has_define){
152.
153.
$GLOBALS['G_SP']["inst_class"][$class_name] = new $class_name($args);
return $GLOBALS['G_SP']["inst_class"][$class_name];
154.
}
155.
spError($class_name."邀サ螳壻ケ我ク榊ュ伜惠?瑚ッキ譽?譟・縲?);
156.
}
157.
- D:\wwwroot\jtctian\wwwroot\SpeedPHPs\Core\spModel.php on line 52
47.
{
48.
if( null == $this->tbl_name )$this->tbl_name = $GLOBALS['G_SP']['db']['prefix'] . $this->table;
49.
if( '' == $GLOBALS['G_SP']['db_driver_path'] ){
50.
$GLOBALS['G_SP']['db_driver_path'] = $GLOBALS['G_SP']['sp_drivers_path'].'/'.$GLOBALS['G_SP']['db']['driver'].'.php';
51.
}
52.
53.
$this->_db = spClass('db_'.$GLOBALS['G_SP']['db']['driver'], $GLOBALS['G_SP']['db'], $GLOBALS['G_SP']['db_driver_path']);
}
54.
55.
56.
/**
57.
* 闔キ蜿匁焚謐ョ蠎鍋沿譛ャ
- D:\wwwroot\jtctian\wwwroot\SpeedPHPs\spFunctions.php on line 152
147.
if( TRUE == import($class_name.'.php')){
148.
$has_define = TRUE;
149.
}
150.
}
151.
if(FALSE != $has_define){
152.
153.
$GLOBALS['G_SP']["inst_class"][$class_name] = new $class_name($args);
return $GLOBALS['G_SP']["inst_class"][$class_name];
154.
}
155.
spError($class_name."邀サ螳壻ケ我ク榊ュ伜惠?瑚ッキ譽?譟・縲?);
156.
}
157.
- D:\wwwroot\jtctian\wwwroot\libs\zxinit.php on line 130
125.
$link = intval($this->spArgs("link"));
126.
if(!$id){
127.
echo "document.write('-')";
128.
exit();
129.
}
130.
131.
$products = spClass("product");
$p_rs = $products->findByPk($id, "relatestr");
132.
$condition = "pid in ($p_rs[relatestr])";
133.
if($cid) $condition .= " and ptype = $cid";
134.
if(!$rs = $products->findAll($condition, null, "hnyn_products.name, hnyn_products.pid")){
135.
echo "document.write('-')";
- D:\wwwroot\jtctian\wwwroot\SpeedPHPs\spFunctions.php on line 26
21.
22.
//謇ァ陦恵efore_display豕ィ蜈・蜃ス謨ー
23.
spInject('before_display', array($handle_controller) );
24.
25.
// 霍ッ逕ア蟷カ謇ァ陦檎畑謌キ莉」遐?br />
26.
27.
$handle_controller->$__action();
28.
// 謗ァ蛻カ蝎ィ遞句コ剰ソ占。悟ョ梧ッ包シ瑚ソ幄。梧ィ。譚ソ逧??蜉ィ霎灘?
29.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
30.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
31.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 諡シ陬?ィ。譚ソ霍ッ蠕?br />
- D:\wwwroot\jtctian\wwwroot\index.php on line 93
88.
unset($in);
89.
}
90.
91.
//dump($_SESSION);
92.
require(APP_PATH . DS . "libs" . DS . "zxinit.php");
93.
94.
spRun();
95.
?>