Clean code.

This commit is contained in:
Lars Jung 2015-05-11 17:56:01 +02:00
parent d07850b6ef
commit 8c810a1818

View file

@ -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';
} }
} }