class_exists에 namespace가 지정되지 않은 문제 해결

This commit is contained in:
2018-03-25 00:30:44 +09:00
parent cab0401dfa
commit 8c03d1fa31
7 changed files with 10 additions and 8 deletions
+3 -1
View File
@@ -3,5 +3,7 @@ namespace sammo;
require('vendor/autoload.php');
Json::die([
'haha'
'haha',
RootDB::getServerBasepath(),
'RootDB'=>class_exists('sammo\RootDB')
]);