Index: cron.php =================================================================== --- cron.php (revision 13576) +++ cron.php (working copy) @@ -14,7 +14,8 @@ $start = getmicrotime(); define('ADMIN', 1); - define('FULL_PATH', realpath(dirname(__FILE__).'/..') ); + define('REL_PATH', 'modules/in-auction'); + define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: generate_keys.php =================================================================== --- generate_keys.php (revision 13557) +++ generate_keys.php (working copy) @@ -13,8 +13,8 @@ $start = getmicrotime(); define('ADMIN', 1); - define('REL_PATH', '/in-auction'); - define('FULL_PATH', realpath(dirname(__FILE__).'/..') ); + define('REL_PATH', 'modules/in-auction'); + define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: hitcounter.php =================================================================== --- hitcounter.php (revision 13576) +++ hitcounter.php (working copy) @@ -13,7 +13,9 @@ $start = getmicrotime(); define('ADMIN', 1); - define('FULL_PATH', realpath(dirname(__FILE__).'/..') ); + 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'); @@ -25,9 +27,8 @@ $application->StoreVar('user_id', USER_ROOT); - $application->HandleEvent($event, 'l-ebay:OnHitAuction'); - $filename=FULL_PATH.'/in-auction/admin_templates/img/s.gif'; + $filename = MODULES_PATH . '/in-auction/admin_templates/img/s.gif'; header('Content-type: image/gif'); header('Content-length: '.filesize($filename)); readfile($filename); Index: new_token_accept.php =================================================================== --- new_token_accept.php (revision 13576) +++ new_token_accept.php (working copy) @@ -13,7 +13,8 @@ $start = getmicrotime(); define('ADMIN', 1); - define('FULL_PATH', realpath(dirname(__FILE__).'/..') ); + define('REL_PATH', 'modules/in-auction'); + define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: new_token_reject.php =================================================================== --- new_token_reject.php (revision 13576) +++ new_token_reject.php (working copy) @@ -13,7 +13,8 @@ $start = getmicrotime(); define('ADMIN', 1); - define('FULL_PATH', realpath(dirname(__FILE__).'/..') ); + define('REL_PATH', 'modules/in-auction'); + define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php'); Index: notify.php =================================================================== --- notify.php (revision 13576) +++ notify.php (working copy) @@ -14,7 +14,8 @@ $start = getmicrotime(); define('ADMIN', 1); - define('FULL_PATH', realpath(dirname(__FILE__).'/..') ); + define('REL_PATH', 'modules/in-auction'); + define('FULL_PATH', realpath(dirname(__FILE__).'/../..') ); include_once(FULL_PATH . '/core/kernel/startup.php');