Permalink
Browse files

Removed reference to __DIR__ because it's too new. Used dirname on __…

…FILE__ instead.
  • Loading branch information...
1 parent f45f9e9 commit aa2c8c3d6755d17f20bda7b9a0ab36952a0f3c6e @xdissent committed Sep 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/phorms.php
View
2 src/phorms.php
@@ -22,7 +22,7 @@
/**
* Constant used to determine path of includes.
**/
-define('PHORMS_ROOT', __DIR__ . '/');
+define('PHORMS_ROOT', dirname(__FILE__) . '/');
/**
* Widget classes used to serialize form elements.

0 comments on commit aa2c8c3

Please sign in to comment.