@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | ) |
| 48 | 48 | ); |
| 49 | 49 | foreach ($console->getLogs() as $log) { |
| 50 | - switch($log['type']) { |
|
| 50 | + switch ($log['type']) { |
|
| 51 | 51 | case 'log': |
| 52 | 52 | $message = array( |
| 53 | 53 | 'data' => print_r($log['data'], true), |
@@ -227,9 +227,9 @@ discard block |
||
| 227 | 227 | { |
| 228 | 228 | $output = $this->output; |
| 229 | 229 | // todo is this really the best way to load these? |
| 230 | - $styles = file_get_contents(__DIR__ . "./../{$this->options['style_path']}"); |
|
| 231 | - $script = file_get_contents(__DIR__ . "./../{$this->options['script_path']}"); |
|
| 230 | + $styles = file_get_contents(__DIR__."./../{$this->options['style_path']}"); |
|
| 231 | + $script = file_get_contents(__DIR__."./../{$this->options['script_path']}"); |
|
| 232 | 232 | |
| 233 | - require_once __DIR__ .'/../asset/display.tpl.php'; |
|
| 233 | + require_once __DIR__.'/../asset/display.tpl.php'; |
|
| 234 | 234 | } |
| 235 | 235 | } |