// ------------------------ // Récupération des projets // ------------------------ $handle=opendir("." $projectContents = ''; while (($file = readdir($handle))!==false) { if (is_dir($file) && !in_array($file,$projectsListIgnore)) $projectContents .= '<li><a href="'.$file.'">'.$file.'</a></li>'; } closedir($handle); if (empty($projectContents)) $projectContents = "<li>".$langues[$langue]['txtNoProjet']."</li>\n";
# ------------------- # # mon-site-un # # ------------------- # <VirtualHost 127.0.0.1:80> ServerName mon-site-un ServerAdmin artemus24@live.fr DocumentRoot "f:/Site-01/" # ErrorLog "f:/Site-01/Logs/error.log" CustomLog "f:/Site-01/Logs/custom.log" common # <Directory /> Options -Indexes +FollowSymLinks +MultiViews AllowOverride all Require local </Directory> </VirtualHost>
mon-site-un 127.0.0.1