Index: custom/install.php =================================================================== --- custom/install.php (revision 14653) +++ custom/install.php (working copy) @@ -5,7 +5,6 @@ // separate module install define('IS_INSTALL', 1); define('ADMIN', 1); - define('REL_PATH', $module_folder); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/cron.php =================================================================== --- in-auction/cron.php (revision 14653) +++ in-auction/cron.php (working copy) @@ -14,7 +14,6 @@ $start = microtime(true); define('ADMIN', 1); - define('REL_PATH', 'modules/in-auction'); define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/generate_keys.php =================================================================== --- in-auction/generate_keys.php (revision 14653) +++ in-auction/generate_keys.php (working copy) @@ -13,7 +13,6 @@ $start = microtime(true); define('ADMIN', 1); - define('REL_PATH', 'modules/in-auction'); define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/hitcounter.php =================================================================== --- in-auction/hitcounter.php (revision 14653) +++ in-auction/hitcounter.php (working copy) @@ -14,7 +14,6 @@ define('ADMIN', 1); define('DBG_SKIP_REPORTING', 1); - define('REL_PATH', 'modules/in-auction'); define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/install.php =================================================================== --- in-auction/install.php (revision 14653) +++ in-auction/install.php (working copy) @@ -16,7 +16,6 @@ // separate module install define('IS_INSTALL', 1); define('ADMIN', 1); - define('REL_PATH', $module_folder); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/new_token_accept.php =================================================================== --- in-auction/new_token_accept.php (revision 14653) +++ in-auction/new_token_accept.php (working copy) @@ -13,7 +13,6 @@ $start = microtime(true); define('ADMIN', 1); - define('REL_PATH', 'modules/in-auction'); define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/new_token_reject.php =================================================================== --- in-auction/new_token_reject.php (revision 14653) +++ in-auction/new_token_reject.php (working copy) @@ -13,7 +13,6 @@ $start = microtime(true); define('ADMIN', 1); - define('REL_PATH', 'modules/in-auction'); define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/notify.php =================================================================== --- in-auction/notify.php (revision 14653) +++ in-auction/notify.php (working copy) @@ -14,7 +14,6 @@ $start = microtime(true); define('ADMIN', 1); - define('REL_PATH', 'modules/in-auction'); define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-auction/units/sections/ebay_eh.php =================================================================== --- in-auction/units/sections/ebay_eh.php (revision 14653) +++ in-auction/units/sections/ebay_eh.php (working copy) @@ -2796,7 +2796,7 @@ $a_params = Array( 'ApplicationDeliveryPreferences' => Array( - 'ApplicationURL' => 'http://'.DOMAIN.$this->Application->ConfigValue('Site_Path').'in-auction/notify.php', + 'ApplicationURL' => 'http://'.DOMAIN.BASE_PATH.'/modules/in-auction/notify.php', 'ApplicationEnable' => 'Enable', ), 'UserDeliveryPreferenceArray' => Array( Index: in-bulletin/install.php =================================================================== --- in-bulletin/install.php (revision 14653) +++ in-bulletin/install.php (working copy) @@ -17,7 +17,6 @@ // separate module install define('IS_INSTALL', 1); define('ADMIN', 1); - define('REL_PATH', $module_folder); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-commerce/gw_notify.php =================================================================== --- in-commerce/gw_notify.php (revision 14653) +++ in-commerce/gw_notify.php (working copy) @@ -11,7 +11,6 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ define('GW_NOTIFY', 1); - define('REL_PATH', 'modules/in-commerce'); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..')); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-commerce/install.php =================================================================== --- in-commerce/install.php (revision 14653) +++ in-commerce/install.php (working copy) @@ -16,7 +16,6 @@ // separate module install define('IS_INSTALL', 1); define('ADMIN', 1); - define('REL_PATH', $module_folder); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-commerce/units/gateways/gw_classes/notify_scripts/atosorigin_notify.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/atosorigin_notify.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/atosorigin_notify.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH . '/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/google_checkout_notify.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/google_checkout_notify.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/google_checkout_notify.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH.'/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/google_checkout_shippings.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/google_checkout_shippings.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/google_checkout_shippings.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH . '/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/multicards_notify.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/multicards_notify.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/multicards_notify.php (working copy) @@ -11,10 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); include_once(FULL_PATH . '/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/paybox_notify.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/paybox_notify.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/paybox_notify.php (working copy) @@ -11,10 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); include_once(FULL_PATH.'/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/sella_error.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/sella_error.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/sella_error.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH.'/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/sella_notify.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/sella_notify.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/sella_notify.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH.'/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/sella_ok.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/sella_ok.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/sella_ok.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH . '/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-commerce/units/gateways/gw_classes/notify_scripts/verisign_pflink_notify.php =================================================================== --- in-commerce/units/gateways/gw_classes/notify_scripts/verisign_pflink_notify.php (revision 14653) +++ in-commerce/units/gateways/gw_classes/notify_scripts/verisign_pflink_notify.php (working copy) @@ -11,9 +11,9 @@ * See http://www.in-portal.org/commercial-license for copyright notices and details. */ + define('ADMIN', 1); define('FULL_PATH', realpath(dirname(__FILE__) . '/../../../../../..')); - define('REL_PATH', 'modules/in-commerce/units/gateways/gw_classes/notify_scripts'); - define('ADMIN', 1); + include_once(FULL_PATH . '/core/kernel/startup.php'); $application =& kApplication::Instance(); Index: in-link/install.php =================================================================== --- in-link/install.php (revision 14653) +++ in-link/install.php (working copy) @@ -17,7 +17,6 @@ // separate module install define('IS_INSTALL', 1); define('ADMIN', 1); - define('REL_PATH', $module_folder); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: in-news/install.php =================================================================== --- in-news/install.php (revision 14653) +++ in-news/install.php (working copy) @@ -17,7 +17,6 @@ // separate module install define('IS_INSTALL', 1); define('ADMIN', 1); - define('REL_PATH', $module_folder); define('FULL_PATH', realpath(dirname(__FILE__) . '/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php');