XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
XOOPS 2.5.6
Todo List
Deprecated List
Classes
Files
File List
L:
0xoops
xoops-2.5.6
htdocs
class
Frameworks
include
install
kernel
language
modules
themes
xoops_data
xoops_lib
modules
protector
admin
class
filters_disabled
filters_enabled
include
install_extramodcheck.inc.php
postcheck.inc.php
postcheck_functions.php
precheck.inc.php
precheck_functions.php
language
library
main
admin.php
admin_menu.php
blocks.php
main.php
module_icon.php
notification.php
oninstall.php
onuninstall.php
onupdate.php
preload.php
public_check.php
xoops_version.php
admin.php
backend.php
banners.php
browse.php
edituser.php
footer.php
header.php
image.php
imagemanager.php
index.php
lostpass.php
mainfile.dist.php
mainfile.php
misc.php
notifications.php
pda.php
pmlite.php
readpmsg.php
register.php
search.php
user.php
userinfo.php
viewpmsg.php
xmlrpc.php
File Members
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
precheck.inc.php
Go to the documentation of this file.
1
<?php
2
3
require_once dirname(__FILE__).
'/precheck_functions.php'
;
4
5
if
( class_exists(
'Database'
) ) {
6
require dirname(__FILE__).
'/postcheck.inc.php'
;
7
return
;
8
}
9
10
define(
'PROTECTOR_PRECHECK_INCLUDED'
, 1 ) ;
11
define(
'PROTECTOR_VERSION'
, file_get_contents( dirname(__FILE__).
'/version.txt'
) ) ;
12
13
// set $_SERVER['REQUEST_URI'] for IIS
14
if
( empty(
$_SERVER
[
'REQUEST_URI'
] ) ) {
// Not defined by IIS
15
// Under some configs, IIS makes SCRIPT_NAME point to php.exe :-(
16
if
( !(
$_SERVER
[
'REQUEST_URI'
] = @
$_SERVER
[
'PHP_SELF'
] ) ) {
17
$_SERVER
[
'REQUEST_URI'
] =
$_SERVER
[
'SCRIPT_NAME'
];
18
}
19
if
( isset(
$_SERVER
[
'QUERY_STRING'
] ) ) {
20
$_SERVER
[
'REQUEST_URI'
] .=
'?'
.
$_SERVER
[
'QUERY_STRING'
];
21
}
22
}
23
24
protector_prepare
() ;
25
26
?>
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
include
precheck.inc.php
Generated on Fri May 10 2013 01:04:29 for XOOPS 2.5.6 by
1.8.3.1