Permalink
Browse files

Replace 5.3 __DIR__ constant. We need to support 5.2

  • Loading branch information...
1 parent e397c54 commit 6aac652f0e9faef9b296bc62ff2860d22de7782c @zombor zombor committed Aug 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/kohana/ViewTest.php
@@ -27,7 +27,7 @@ public static function setupBeforeClass()
self::$old_modules = Kohana::modules();
$new_modules = self::$old_modules+array(
- 'test_views' => realpath(__DIR__.'/../test_data/')
+ 'test_views' => realpath(dirname(__FILE__).'/../test_data/')
);
Kohana::modules($new_modules);
}

0 comments on commit 6aac652

Please sign in to comment.