mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 14:56:35 +02:00
Clean code.
This commit is contained in:
@@ -49,7 +49,7 @@ class Bootstrap {
|
||||
foreach ($this->classpaths as $classpath) {
|
||||
$file = $this->basepath . $classpath . '/' . $filename;
|
||||
if (file_exists($file)) {
|
||||
require_once($file);
|
||||
require_once $file;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -57,6 +57,6 @@ class Bootstrap {
|
||||
|
||||
private function once($lib) {
|
||||
|
||||
require_once($this->basepath . '/' . $lib . '.php');
|
||||
require_once $this->basepath . '/' . $lib . '.php';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user