diff options
Diffstat (limited to '')
-rw-r--r-- | upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upload.php b/upload.php index 42ac7d5f2..ccde9627d 100644 --- a/upload.php +++ b/upload.php @@ -24,8 +24,8 @@ // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | // | USA. | // +-----------------------------------------------------------------------+ -$phpwg_root_path = './'; -include_once( $phpwg_root_path.'include/common.inc.php' ); +define('PHPWG_ROOT_PATH','./'); +include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); //------------------------------------------------------------------- functions // The validate_upload function checks if the image of the given path is valid. |