[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4432 - phpcompta/trunk/html/admin
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4432 - phpcompta/trunk/html/admin |
Date: |
Tue, 22 Nov 2011 11:23:00 +0100 (CET) |
Author: danydb
Date: 2011-11-22 11:22:58 +0100 (Tue, 22 Nov 2011)
New Revision: 4432
Modified:
phpcompta/trunk/html/admin/setup.php
Log:
setup.php remove debug
Modified: phpcompta/trunk/html/admin/setup.php
===================================================================
--- phpcompta/trunk/html/admin/setup.php 2011-11-21 21:18:02 UTC (rev
4431)
+++ phpcompta/trunk/html/admin/setup.php 2011-11-22 10:22:58 UTC (rev
4432)
@@ -112,10 +112,6 @@
$inc_path=get_include_path();
/**
address@hidden create correctly the htaccess file
- address@hidden
- address@hidden
- address@hidden
- address@hidden
*/
function create_htaccess() {
$inc_path=get_include_path();
@@ -131,11 +127,6 @@
/* 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');
@@ -165,7 +156,6 @@
fwrite($hFile,'php_value include_path
.:../../include:../include:addon'."\n");
foreach ($array as $value ) fwrite($hFile,$value."\n");
fclose($hFile);
-}
if ( strpos($inc_path,";") != 0 ) {
$new_path=$inc_path.';..\..\include;addon';
@@ -217,8 +207,6 @@
// magic_quotes_sybase = Off
// include_path
}
-?>
-<?
require_once('config_file.php');
include_once('constant.php');
require_once('class_database.php');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4432 - phpcompta/trunk/html/admin,
phpcompta-dev <=