File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Core_Engine
15
15
* Major and minor version should be set here.
16
16
* If revision number is question mark getVersion() will try to determine it from git.
17
17
*/
18
- const VERSION = "0.8.6 " ;
18
+ const VERSION = "0.8.7 " ;
19
19
20
20
const ROLE_REMOTE = "remote " ;
21
21
const ROLE_LOCAL = "local " ;
@@ -487,15 +487,10 @@ protected function _initAutoload()
487
487
function ($ className ) {
488
488
$ path = str_replace ("_ " , "/ " , $ className );
489
489
$ path [0 ] = strtolower ($ path [0 ]);
490
- // if (!@file_exists($path . '.php')) {
491
- // return false;
492
- // }
493
- /** @noinspection PhpIncludeInspection */
494
- try {
495
- require_once ($ path . '.php ' );
496
- } catch (Exception $ e ) {
490
+ if (!@include_once ($ path . '.php ' )) {
497
491
return false ;
498
492
}
493
+
499
494
return true ;
500
495
}
501
496
);
You can’t perform that action at this time.
0 commit comments