From: Fabien Potencier Date: Thu, 29 Sep 2011 15:16:55 +0000 (+0200) Subject: removed usage of PHP 5.3 __DIR__ X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=b058160e97bc105a32731c4560fdd23c61bbc759;p=web%2Fkonrad%2Ftwig.git removed usage of PHP 5.3 __DIR__ --- diff --git a/test/Twig/Tests/Loader/FilesystemTest.php b/test/Twig/Tests/Loader/FilesystemTest.php index c0437e8..22ae5aa 100644 --- a/test/Twig/Tests/Loader/FilesystemTest.php +++ b/test/Twig/Tests/Loader/FilesystemTest.php @@ -16,7 +16,7 @@ class Twig_Tests_Loader_FilesystemTest extends PHPUnit_Framework_TestCase */ public function testSecurity($template) { - $loader = new Twig_Loader_Filesystem(array(__DIR__.'/../Fixtures')); + $loader = new Twig_Loader_Filesystem(array(dirname(__FILE__).'/../Fixtures')); try { $loader->getCacheKey($template);