mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
feature 2541: fix bug on PHPWG_ROOT_PATH and includes
git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
2
i.php
2
i.php
@@ -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');
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user