本机php版本是5.3.8,Apache/2.2.21
public function goto($url, $msg=NULL) {
if ($msg) {
$this->jsAlert($msg);
}
$this->js('document.location="' . $url . '";');
$this->output(true);
exit;
}
解决办法是将phpstudy版本号php-5.3.29改为php-5.2.17
本机php版本是5.3.8,Apache/2.2.21
public function goto($url, $msg=NULL) {
if ($msg) {
$this->jsAlert($msg);
}
$this->js('document.location="' . $url . '";');
$this->output(true);
exit;
}
解决办法是将phpstudy版本号php-5.3.29改为php-5.2.17
转载于:https://www.cnblogs.com/apolloren/p/7586487.html