Changeset 12798


Ignore:
Timestamp:
Dec 27, 2011, 10:36:39 PM (9 years ago)
Author:
plg
Message:

feature 2541: fix bug on PHPWG_ROOT_PATH and includes

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/i.php

    r12797 r12798  
    2020// +-----------------------------------------------------------------------+
    2121
    22 define('PHPWG_ROOT_PATH','');
     22define('PHPWG_ROOT_PATH','./');
    2323
    2424// fast bootstrap - no db connection
  • trunk/include/functions.inc.php

    r12796 r12798  
    3131include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' );
    3232include_once( PHPWG_ROOT_PATH .'include/functions_plugins.inc.php' );
    33 include_once( PHPWG_ROOT_PATH .'/include/derivative_params.inc.php');
    34 include_once( PHPWG_ROOT_PATH .'/include/derivative_std_params.inc.php');
    35 include_once( PHPWG_ROOT_PATH .'/include/derivative.inc.php');
     33include_once( PHPWG_ROOT_PATH .'include/derivative_params.inc.php');
     34include_once( PHPWG_ROOT_PATH .'include/derivative_std_params.inc.php');
     35include_once( PHPWG_ROOT_PATH .'include/derivative.inc.php');
    3636
    3737//----------------------------------------------------------- generic functions
  • trunk/picture.php

    r12797 r12798  
    2222// +-----------------------------------------------------------------------+
    2323
    24 define('PHPWG_ROOT_PATH','');
     24define('PHPWG_ROOT_PATH','./');
    2525include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
    2626include(PHPWG_ROOT_PATH.'include/section_init.inc.php');
Note: See TracChangeset for help on using the changeset viewer.