If the script is called directly, exit with a redirection tip
This commit is contained in:
parent
9919583261
commit
d981e429f6
7 changed files with 45 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a> (but why? Oh well).');
|
||||
exit(0);
|
||||
}
|
||||
echo('</nav>
|
||||
<div class="scrwide">
|
||||
<div class="scrwidein">
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a>.');
|
||||
exit(0);
|
||||
}
|
||||
|
||||
echo('</nav>
|
||||
<div class="scrwide">
|
||||
<div class="scrwidein">
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a>.');
|
||||
exit(0);
|
||||
}
|
||||
|
||||
echo('</nav>
|
||||
<div class="scrwide">
|
||||
<div class="scrwidein">
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<?php
|
||||
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a>.');
|
||||
exit(0);
|
||||
}
|
||||
|
||||
echo('
|
||||
<div id="summlink" onclick="shsum()">
|
||||
'._('Index').'
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a>.');
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$bt=microtime(true);
|
||||
|
||||
$dlanguc=strtoupper($dlang);
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a>.');
|
||||
exit(0);
|
||||
}
|
||||
|
||||
require('lib/fnum.php');
|
||||
|
||||
echo('</nav>
|
||||
|
|
|
@ -1,5 +1,20 @@
|
|||
<?php
|
||||
|
||||
if (!defined('N')) {
|
||||
echo('You probably meant <a href="'.preg_replace('/\.php$/','',$_SERVER['REQUEST_URI']).'">this</a>.');
|
||||
exit(0);
|
||||
}
|
||||
|
||||
echo('</nav>
|
||||
<div class="scrwide">
|
||||
<div class="scrwidein">
|
||||
<section class="sectcontm">
|
||||
<h3>Under construction.</h3>
|
||||
</section>
|
||||
</div>
|
||||
</div>'.N);
|
||||
exit(0);
|
||||
|
||||
$bt=microtime(true);
|
||||
|
||||
$dlanguc=strtoupper($dlang);
|
||||
|
|
Loading…
Reference in a new issue