Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed usage of PHP 5.3 __DIR__

  • Loading branch information...
commit b058160e97bc105a32731c4560fdd23c61bbc759 1 parent 1681cb2
@fabpot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/Twig/Tests/Loader/FilesystemTest.php
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.