This commit is contained in:
2020-10-08 03:37:44 +08:00
parent 546093b01f
commit 065222e518
2 changed files with 35 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
# Created by .ignore support plugin (hsz.mobi)
### Yii template
assets/*
!assets/.gitignore
protected/runtime/*
!protected/runtime/.gitignore
protected/data/*.db
themes/classic/views/
### Example user template template
### Example user template
# IntelliJ project files
.idea
*.iml
out
gen
composer.lock
*.log
commands/result
config/setting.php
tests/
vendor/
runtime/
*.xml
*.lock
oot
d
composer.lock
+1 -1
View File
@@ -52,7 +52,7 @@ class ErrorHandler extends Component implements ErrorInterface
public function shutdown()
{
$lastError = error_get_last();
if ($lastError['type'] !== E_ERROR) {
if (empty($lastError) || $lastError['type'] !== E_ERROR) {
return;
}