Fissato cjrand a 0.1, disabilitato il log dei 404
This commit is contained in:
parent
3d5256f1d8
commit
5e03ca41f1
1 changed files with 4 additions and 3 deletions
|
@ -145,14 +145,14 @@ switch($path) {
|
||||||
$cont['atit']=' - '._('Not found');
|
$cont['atit']=' - '._('Not found');
|
||||||
$cont['desc']=_('Page not found');
|
$cont['desc']=_('Page not found');
|
||||||
$url='404';
|
$url='404';
|
||||||
$nffp='404.log';
|
/*$nffp='404.log';
|
||||||
$nff=@fopen($nffp,'a');
|
$nff=@fopen($nffp,'a');
|
||||||
if ($nff) {
|
if ($nff) {
|
||||||
fwrite($nff,$_SERVER['REQUEST_URI'].N);
|
fwrite($nff,$_SERVER['REQUEST_URI'].N);
|
||||||
fclose($nff);
|
fclose($nff);
|
||||||
} else {
|
} else {
|
||||||
echo('Mannaggia!');
|
echo('Mannaggia!');
|
||||||
}
|
}*/
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$cont['mtit']=substr($cont['atit'],3);
|
$cont['mtit']=substr($cont['atit'],3);
|
||||||
|
@ -210,7 +210,8 @@ buildmenu($menu);
|
||||||
|
|
||||||
//echo(htmlentities($menuout));
|
//echo(htmlentities($menuout));
|
||||||
|
|
||||||
$cjrand=rand(0,999999);
|
//$cjrand=rand(0,999999);
|
||||||
|
$cjrand='0.1';
|
||||||
|
|
||||||
echo('<!DOCTYPE HTML>
|
echo('<!DOCTYPE HTML>
|
||||||
<html lang="'.$dlang.'">
|
<html lang="'.$dlang.'">
|
||||||
|
|
Loading…
Reference in a new issue