diff options
Diffstat (limited to 'register.php')
-rw-r--r-- | register.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/register.php b/register.php index 5d6b399e4..979e38cd0 100644 --- a/register.php +++ b/register.php @@ -26,8 +26,8 @@ // +-----------------------------------------------------------------------+ //----------------------------------------------------------- include -$phpwg_root_path = './'; -include_once( $phpwg_root_path.'incelude/common.inc.php' ); +define('PHPWG_ROOT_PATH','./'); +include_once( PHPWG_ROOT_PATH.'incelude/common.inc.php' ); //-------------------------------------------------- access authorization check if ( $conf['access'] == "restricted" ) { |