Permalink
Browse files

Fixed missing directory seperator

  • Loading branch information...
1 parent e27922f commit e1003795964e0d656fb35ea083536da8593828fd @mpscholten committed Oct 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Propel/Generator/Builder/Om/ObjectBuilder.php
@@ -38,7 +38,7 @@ public function __construct(Table $table)
{
parent::__construct($table);
$loader = new \Twig_Loader_Filesystem(__DIR__ . '/templates/');
- $this->twig = new \Twig_Environment($loader, ['autoescape' => false, 'strict_variables' => true, 'cache' => sys_get_temp_dir() . 'propel2-cache', 'auto_reload' => true]);
+ $this->twig = new \Twig_Environment($loader, ['autoescape' => false, 'strict_variables' => true, 'cache' => sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'propel2-cache', 'auto_reload' => true]);
$this->twig->addFilter('addSlashes', new \Twig_SimpleFilter('addSlashes', 'addslashes'));
$this->twig->addFilter('lcfirst', new \Twig_SimpleFilter('lcfirst', 'lcfirst'));
$this->twig->addFilter(

0 comments on commit e100379

Please sign in to comment.