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
  */
+/**
+ *@todo remove this test for production
+ */
+if ( ! DEBUG )
+{
 
$file='..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'.htaccess';
 $hFile=@fopen($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');


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to