3 if (!class_exists(
'ProtectorRegistry'))
exit(
'Registry not found');
19 if( file_exists(
"$mydirpath/language/$language/main.php" ) ) {
22 }
else if( file_exists(
"$mytrustdirpath/language/$language/main.php" ) ) {
24 include_once
"$mytrustdirpath/language/$language/main.php" ;
27 include_once
"$mytrustdirpath/language/english/main.php" ;
31 $page = preg_replace(
'/[^a-zA-Z0-9_-]/' ,
'' , @
$_GET[
'page'] ) ;
33 if( file_exists(
"$mytrustdirpath/main/$page.php" ) ) {
34 include
"$mytrustdirpath/main/$page.php" ;
36 include
"$mytrustdirpath/main/index.php" ;