3 OR $php_version_min >= 7); if ($flag_function_exists) $gz = function_exists("gzopen"); else $gz = false; if ($gz) { $_fwrite = gzwrite; $_fread = gzread; $_fopen = gzopen; $_fclose = gzclose; } else { $_fwrite = fwrite; $_fread = fread; $_fopen = fopen; $_fclose = fclose; } if ($fichier AND file_exists($fichier)) { $dir_base = ""; $f = $_fopen($fichier, "rb"); $ok = unpacker_fichier($f); $_fclose($f); if (!$ok) { @unlink($fichier); debut_html("Problem"); echo "

Data problem. Please try again or use the manual install procedure.

"; fin_html(); exit(); } @unlink("dm_install_en.php"); header("Location: php/index.php"); exit; } if ($charger != 'oui') { debut_html("Downloading the Document Manager"); ?>

Welcome in the automatic install procedure of the document manager.

This programm will first check the access rights on the current folder, then it will launch the download of the document manager program files inside this folder.

Please click the following button to proceed.

'); @fclose($f); @chmod('test'.SEP.'test.php', 0777); include('test'.SEP.'test.php'); } @unlink('test'.SEP.'test.php'); @rmdir('test'); if (!$ok) { debut_html("Téléchargement du porte-document"); ?>

Preliminary : Please check the access rights

The web server cannot write files in the current folder.

Please use your FTP to fix the access rights for this folder (where you will install the document manager). Please proceed as follow :

After that you can reload this page to start the installation process.

If the error appear again, you will have to use the standard installation procedure. (downloading all the files by FTP).

The download failed, please try again or use the manual installation procedure."); ?>