Skip to content

Commit

Permalink
Fixed missing directory seperator
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Philip Scholten committed Oct 5, 2013
1 parent e27922f commit e100379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Propel/Generator/Builder/Om/ObjectBuilder.php
Expand Up @@ -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(
Expand Down

0 comments on commit e100379

Please sign in to comment.