mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-30 14:09:58 +08:00
fixed bug when call E class directly
This commit is contained in:
parent
532ba30e99
commit
a3604f3341
@ -3,7 +3,7 @@
|
||||
* @Author: printempw
|
||||
* @Date: 2016-03-27 11:04:14
|
||||
* @Last Modified by: printempw
|
||||
* @Last Modified time: 2016-04-02 22:25:08
|
||||
* @Last Modified time: 2016-04-03 15:53:59
|
||||
*/
|
||||
|
||||
class E extends Exception
|
||||
@ -34,7 +34,7 @@ class E extends Exception
|
||||
private function showErrorPage() {
|
||||
$message = $this->message;
|
||||
$code = $this->code;
|
||||
require BASE_DIR."/templates/error.tpl.php";
|
||||
require dirname(dirname(__FILE__))."/templates/error.tpl.php";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user