@@ -44,7 +44,7 @@ |
||
| 44 | 44 | { |
| 45 | 45 | $loader = new Twig_Loader_Filesystem($resDir); |
| 46 | 46 | $twig = new Twig_Environment($loader, array( |
| 47 | - 'cache' => __DIR__ . '/../var/cache', |
|
| 47 | + 'cache' => __DIR__.'/../var/cache', |
|
| 48 | 48 | )); |
| 49 | 49 | |
| 50 | 50 | return $twig; |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | public function __construct() |
| 26 | 26 | { |
| 27 | 27 | $yaml = new Yaml(); |
| 28 | - $config = $yaml->parse(file_get_contents(__DIR__ . '/../../app/config/parameters.yml')); |
|
| 28 | + $config = $yaml->parse(file_get_contents(__DIR__.'/../../app/config/parameters.yml')); |
|
| 29 | 29 | $this->webservers = $config['webservers']; |
| 30 | 30 | } |
| 31 | 31 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | { |
| 32 | 32 | $input = $input; |
| 33 | 33 | $webhelper = new WebHelper(); |
| 34 | - $webhelper->setRepository(__DIR__ . '/../../res'); |
|
| 34 | + $webhelper->setRepository(__DIR__.'/../../res'); |
|
| 35 | 35 | |
| 36 | 36 | if ($webhelper->getRepository()->okGo()) { |
| 37 | 37 | $webhelper->setServer('apache', '2.4.18'); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | $output->write($webhelper->render($twigFile, [ |
| 41 | 41 | 'project' => [ |
| 42 | 42 | 'aliasname' => 'webhelper', |
| 43 | - 'documentroot' => realpath(__DIR__ . '/../../') |
|
| 43 | + 'documentroot' => realpath(__DIR__.'/../../') |
|
| 44 | 44 | ] |
| 45 | 45 | ])); |
| 46 | 46 | } |