18 lines
468 B
PHP
18 lines
468 B
PHP
<?php
|
|
/* $db = sqlite_open("modules/db.sqlite");
|
|
$line = sqlite_query($db, "DELETE FROM news WHERE id='43'");
|
|
sqlite_close($db);*/
|
|
#include "include/standard.inc.php";
|
|
|
|
#mailalert("n@tourmentine.com","alerte!","n@tourmentine.com","","alerte");
|
|
|
|
echo htmlspecialchars("[ ]");
|
|
$request = $_SERVER["SCRIPT_NAME"];
|
|
|
|
if (strstr($request,".en.php"))
|
|
{
|
|
$redirect = preg_replace("/(.*)\.(en|es|fr)\.php/","$1.php",$request);
|
|
header('Location: '.$redirect);
|
|
|
|
}
|
|
?>
|