Commit 231a9658 authored by David's avatar David
Browse files

conf-dist.php plutôt que conf.php-dist

parent 0c7bf4f6
......@@ -22,8 +22,6 @@ Télécharger & décompresser les sources :
wget -O emailPoubelle.zip http://forge.zici.fr/p/emailpoubelle-php/source/download/master/
unzip emailPoubelle.zip
cp emailpoubelle-php-master/* /var/www/emailPoubelle
cd /var/www/emailPoubelle/
mv conf.php-dist conf.php
Configure apache virtualhost
[...]
......
......@@ -24,7 +24,11 @@
<p>Générer des emails poubelle sans contrainte de durée de vie. </p>
<?php
// Intégration dans votre site :
if (file_exists('../conf.php')) {
include('../conf.php');
} else {
include('../conf-dist.php');
}
include('../emailPoubelle.php');
?>
<h3>Let the Show Begin - Pre and Code</h3>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment