@@ -32,11 +32,11 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | |
| 35 | - public function tryRedirect(){ |
|
| 35 | + public function tryRedirect() { |
|
| 36 | 36 | $this->redirect('exemplo'); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - public function tryRefresh(){ |
|
| 39 | + public function tryRefresh() { |
|
| 40 | 40 | $this->refresh(); |
| 41 | 41 | } |
| 42 | 42 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -define('BASE_PATH', __DIR__.'/www'); |
|
| 3 | +define('BASE_PATH', __DIR__ . '/www'); |
|
| 4 | 4 | include BASE_PATH . '/autoload.php'; |
| 5 | 5 | include BASE_PATH . '/../../../www/lib/functions/strings.php'; |
| 6 | 6 | |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | * @param string $file |
| 84 | 84 | */ |
| 85 | 85 | private function setFile($file) { |
| 86 | - $filePath = static::$dir .DIRECTORY_SEPARATOR. $file; |
|
| 86 | + $filePath = static::$dir . DIRECTORY_SEPARATOR . $file; |
|
| 87 | 87 | |
| 88 | 88 | if (!is_null(Template::instance()->getTheme())): |
| 89 | 89 | $filePath = Template::instance()->getFilePath($file); |