Skip to content

Commit

Permalink
removed usage of PHP 5.3 __DIR__
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 29, 2011
1 parent 1681cb2 commit b058160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Twig/Tests/Loader/FilesystemTest.php
Expand Up @@ -16,7 +16,7 @@ class Twig_Tests_Loader_FilesystemTest extends PHPUnit_Framework_TestCase
*/ */
public function testSecurity($template) public function testSecurity($template)
{ {
$loader = new Twig_Loader_Filesystem(array(__DIR__.'/../Fixtures')); $loader = new Twig_Loader_Filesystem(array(dirname(__FILE__).'/../Fixtures'));


try { try {
$loader->getCacheKey($template); $loader->getCacheKey($template);
Expand Down

0 comments on commit b058160

Please sign in to comment.