diff options
-rw-r--r-- | i.php | 2 | ||||
-rw-r--r-- | include/functions.inc.php | 6 | ||||
-rw-r--r-- | picture.php | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -19,7 +19,7 @@ // | USA. | // +-----------------------------------------------------------------------+ -define('PHPWG_ROOT_PATH',''); +define('PHPWG_ROOT_PATH','./'); // fast bootstrap - no db connection include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); diff --git a/include/functions.inc.php b/include/functions.inc.php index f0a83d197..afd3ea702 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -30,9 +30,9 @@ include_once( PHPWG_ROOT_PATH .'include/functions_html.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_tag.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_plugins.inc.php' ); -include_once( PHPWG_ROOT_PATH .'/include/derivative_params.inc.php'); -include_once( PHPWG_ROOT_PATH .'/include/derivative_std_params.inc.php'); -include_once( PHPWG_ROOT_PATH .'/include/derivative.inc.php'); +include_once( PHPWG_ROOT_PATH .'include/derivative_params.inc.php'); +include_once( PHPWG_ROOT_PATH .'include/derivative_std_params.inc.php'); +include_once( PHPWG_ROOT_PATH .'include/derivative.inc.php'); //----------------------------------------------------------- generic functions diff --git a/picture.php b/picture.php index e59eda086..57f4e9fed 100644 --- a/picture.php +++ b/picture.php @@ -21,7 +21,7 @@ // | USA. | // +-----------------------------------------------------------------------+ -define('PHPWG_ROOT_PATH',''); +define('PHPWG_ROOT_PATH','./'); include_once(PHPWG_ROOT_PATH.'include/common.inc.php'); include(PHPWG_ROOT_PATH.'include/section_init.inc.php'); include_once(PHPWG_ROOT_PATH.'include/functions_picture.inc.php'); |