phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r4410 - phpcompta/trunk/html/admin


From: phpcompta-dev
Subject: [Phpcompta-dev] r4410 - phpcompta/trunk/html/admin
Date: Mon, 21 Nov 2011 13:28:11 +0100 (CET)

Author: danydb
Date: 2011-11-21 13:28:09 +0100 (Mon, 21 Nov 2011)
New Revision: 4410

Modified:
   phpcompta/trunk/html/admin/setup.php
Log:
debugging install page

Modified: phpcompta/trunk/html/admin/setup.php
===================================================================
--- phpcompta/trunk/html/admin/setup.php        2011-11-21 12:17:43 UTC (rev 
4409)
+++ phpcompta/trunk/html/admin/setup.php        2011-11-21 12:28:09 UTC (rev 
4410)
@@ -92,6 +92,11 @@
 /* If htaccess file doesn't exists we create them here
  * if os == 1 then windows, 0 means Unix
  */
+/**
+ address@hidden remove this test for production
+ */
+if ( ! DEBUG )
+{
 
$file='..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'.htaccess';
 address@hidden($file,'w+');
 if ( ! $hFile )     exit('Impossible d\'écrire dans le 
répertoire include');
@@ -172,7 +177,7 @@
 // magic_quotes_runtime = Off
 // magic_quotes_sybase = Off
 // include_path
-
+}
 ?>
 <?
 require_once('config_file.php');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]