Page MenuHomeIn-Portal Phabricator

save_redirect.php
No OneTemporary

File Metadata

Created
Sat, Apr 19, 3:23 AM

save_redirect.php

<?php
##############################################################
##In-portal ##
##############################################################
## In-portal ##
## Intechnic Corporation ##
## All Rights Reserved, 1998-2002 ##
## ##
## No portion of this code may be copied, reproduced or ##
## otherwise redistributed without proper written ##
## consent of Intechnic Corporation. Violation will ##
## result in revocation of the license and support ##
## privileges along maximum prosecution allowed by law. ##
##############################################################
define('REDIRECT_REQUIRED', 1);
// new startup: begin
define('REL_PATH', 'admin');
$relation_level = count( explode('/', REL_PATH) );
define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
require_once FULL_PATH.'/kernel/startup.php';
// new startup: end
require_login();
/*$m = GetModuleArray();
foreach($m as $key=>$value)
{
$path = $pathtoroot.$value.'admin/include/parser.php';
if( file_exists($path) ) include_once($path);
}*/
$rootURL = 'http://'.ThisDomain().$objConfig->Get('Site_Path');
$location = $rootURL.GetVar('do').'?env='.GetVar('env');
header('Location: '.$location);
exit;
?>

Event Timeline