Index: trunk/admin/browse.php =================================================================== diff -u -r1510 -r1566 --- trunk/admin/browse.php (.../browse.php) (revision 1510) +++ trunk/admin/browse.php (.../browse.php) (revision 1566) @@ -14,11 +14,35 @@ ############################################################## //$pathtoroot=""; + +//KERNEL4 STARTUP - FOR ACTIONS HANDLING + +function k4getmicrotime() +{ + list($usec, $sec) = explode(" ", microtime()); + return ((float)$usec + (float)$sec); +} + +$start = k4getmicrotime(); + +define('ADMIN', 1); +define('FULL_PATH', realpath(dirname(__FILE__).'/..')); +define('APPLICATION_CLASS', 'MyApplication'); +define('ADMINS_LIST','/in-portal/users/users.php'); +include_once(FULL_PATH."/kernel/kernel4/startup.php"); + +$application =& kApplication::Instance(); +$application->Init(); +$application->ProcessRequest(); +if($application->GetVar('Action') == 'm_paste') define('REDIRECT_REQUIRED',1); // this script can issue redirect header + +//KERNEL4 END + define('REQUIRE_LAYER_HEADER', 1); $b_topmargin = "0"; //$b_header_addon = "