32,7 → 32,7 |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | |
// | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: instal_fichier.inc.php,v 1.13 2006-10-06 15:23:00 florian Exp $ |
// CVS : $Id: instal_fichier.inc.php,v 1.14 2006-10-06 15:34:30 florian Exp $ |
/** |
* Page de création des fichiers nécessaire à l'installation de Papyrus. |
* |
46,7 → 46,7 |
*@author Patrick PAUL |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.13 $ $Date: 2006-10-06 15:23:00 $ |
*@version $Revision: 1.14 $ $Date: 2006-10-06 15:34:30 $ |
// +------------------------------------------------------------------------------------------------------+ |
**/ |
|
164,13 → 164,13 |
$sortie_verif .'<p>Attention: Un fichier .htaccess est déjà présent sur le serveur.'. |
'<br />Veillez à le configurer correctement<br /><br />'. |
'Contenu par défaut: <br /><br /> ErrorDocument 404 /erreur_404.php'; |
} else { |
} /*else { |
preg_match('/^(\/.*?)([^\/]+?)(?:\?(.*)|)$/', $_SERVER['REQUEST_URI'], $tab_prefixe); |
$prefixe = $tab_prefixe[2]; |
$handle =fopen ($url_ftp_htaccess, 'w'); |
fwrite ($handle, 'ErrorDocument 404 /'.$prefixe.'erreur_404.php'); |
fclose($handle); |
} |
}*/ |
} |
} |
|
293,6 → 293,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.13 2006/10/06 15:23:00 florian |
* amelioration graphique de l'installateur |
* |
* Revision 1.12 2006/10/06 14:49:45 ddelon |
* ecriture htaccess a l'installation |
* |