debugging install page
This commit is contained in:
parent
88de395252
commit
545261fc0e
1 changed files with 6 additions and 1 deletions
|
|
@ -92,6 +92,11 @@ if ( strpos($inc_path,";") != 0 ) {
|
|||
/* 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 @@ create_htaccess();
|
|||
// magic_quotes_runtime = Off
|
||||
// magic_quotes_sybase = Off
|
||||
// include_path
|
||||
|
||||
}
|
||||
?>
|
||||
<?
|
||||
require_once('config_file.php');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue