From b058160e97bc105a32731c4560fdd23c61bbc759 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 29 Sep 2011 17:16:55 +0200 Subject: [PATCH] removed usage of PHP 5.3 __DIR__ --- test/Twig/Tests/Loader/FilesystemTest.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); -- 1.7.2.5