Location: PHPKode > projects > Artiphp > www.votre_site.com/installation/tests/index.php
<?php
/**
*
* @Artiphp 5
* @paquetage installation
* @version index.php, 2011/10/05 arteam
* @copyright (c) 2001-2011 Ronald Guérin - hide@address.com - http://www.artiloo.com
* @license consulter artpublic/license/index.html GNU Public License
*
*/

// Protection - Page
define('IN_ARTI', true);

include('../../artpublic/arti_session.inc.php');

// Debug de la page
//error_reporting(E_ALL ^ E_NOTICE);

$lg = trim($_GET['lg']);

if ($lg == 'fr') {

    $LG_TESTURLREWRITING = "Bravo ! L'URL rewriting fonctionne, vous pouvez donc le sélectionner.";
    $LG_TESTURLREWRITING1 = "Paramétrage";
    $LG_TESTURLREWRITING2 = "1. Sélectionnez URL Rewriting lors de l'installation.";
    $LG_TESTURLREWRITING3 = "2. Si le renommage automatique ne fonctionne pas, renommez via FTP les fichiers htaccess.htaccess en .htaccess dans les répertoires suivants :";
    $LG_TESTURLREWRITING4 = "3. Procédez éventuellement de la même façon pour les modules concernés que vous installerez par la suite (ex. : dossiers, news, etc.).";

} else {

    $LG_TESTURLREWRITING = "The URL rewriting is ok, you can thus select it.";
    $LG_TESTURLREWRITING1 = "Setting";
    $LG_TESTURLREWRITING2 = "1. Select URL Rewriting during installation ";
    $LG_TESTURLREWRITING3 = "2. If the automatic renaming does not work, rename via FTP the htaccess.htaccess files to .htaccess in the following directories: ";
    $LG_TESTURLREWRITING4 = "3. Do the same if necessary for the concerned modules that you install later (eg files, news, etc.).";

}

$LG_TESTURLREWRITING  = "<h1>$LG_TESTURLREWRITING</h1>";
$LG_TESTURLREWRITING .= "<h2>$LG_TESTURLREWRITING1</h2>$LG_TESTURLREWRITING2<br /><br />$LG_TESTURLREWRITING3";

$LG_TESTURLREWRITING .= "<ul>";
$LG_TESTURLREWRITING .= "<li>artpublic/auteurs/</li>";
$LG_TESTURLREWRITING .= "<li>artpublic/tags/</li>";
$LG_TESTURLREWRITING .= "</ul>";

$LG_TESTURLREWRITING .= $LG_TESTURLREWRITING4;

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>Test URL rewriting</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

<?php echo $LG_TESTURLREWRITING; ?>

</body>
</html>
Return current item: Artiphp