1
0

init commit

This commit is contained in:
2021-05-13 11:35:49 +08:00
commit a2db70af8b
18 changed files with 541 additions and 0 deletions

16
app/controllers/Error.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
/**
* ErrorController 错误处理
*/
class ErrorController extends Yaf_Controller_Abstract {
public function errorAction($exception) {
$code = $exception->getCode();
$errMsg = $exception->getMessage();
var_dump($errMsg);
return false;
}
}