]> dev.renevier.net Git - syj.git/commitdiff
use __DIR__ instead of dirname(__FILE__)
authorarno <arno@renevier.net>
Mon, 4 Apr 2011 16:57:21 +0000 (18:57 +0200)
committerarno <arno@renevier.net>
Mon, 4 Apr 2011 16:57:21 +0000 (18:57 +0200)
public/init.php

index 4780fe3629dadb994a0413647847ce6ed223d758..7a1af750888db51f59c67f0eba8f9b1a2f35a9de 100644 (file)
@@ -2,7 +2,7 @@
 
 // Define path to application directory
 defined('APPLICATION_PATH')
-    || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
+    || define('APPLICATION_PATH', realpath(__DIR__ . '/../application'));
 
 // Define application environment
 defined('APPLICATION_ENV')