mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-05 17:24:20 -04:00
Clean code.
This commit is contained in:
parent
d07850b6ef
commit
8c810a1818
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class Bootstrap {
|
||||||
foreach ($this->classpaths as $classpath) {
|
foreach ($this->classpaths as $classpath) {
|
||||||
$file = $this->basepath . $classpath . '/' . $filename;
|
$file = $this->basepath . $classpath . '/' . $filename;
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
require_once($file);
|
require_once $file;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,6 @@ class Bootstrap {
|
||||||
|
|
||||||
private function once($lib) {
|
private function once($lib) {
|
||||||
|
|
||||||
require_once($this->basepath . '/' . $lib . '.php');
|
require_once $this->basepath . '/' . $lib . '.php';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue