Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F847588
save_redirect.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Apr 19, 3:23 AM
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Apr 21, 3:23 AM (22 h, 8 m)
Engine
blob
Format
Raw Data
Handle
602409
Attached To
rINP In-Portal
save_redirect.php
View Options
<?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
Log In to Comment