Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…FILE__ instead.
  • Loading branch information...
commit aa2c8c3d6755d17f20bda7b9a0ab36952a0f3c6e 1 parent f45f9e9
Greg Thornton authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/phorms.php
2  src/phorms.php
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.