This file permit to upgrade a version of NOALYSS , it should be used and immediately delete after an upgrade. This file is included in each release for a new upgrade. More...
Go to the source code of this file.
Variables | |
| $cn = new Database() | |
| $failed = "<span style=\"font-size:18px;color:red\">✖</span>" | |
| $flag_php = 0 | |
| $inc_path = get_include_path() | |
| $MaxDossier = $cn->size($Resdossier) | |
| $MaxVersion = DBVERSIONREPO-1 | |
| foreach(array('magic_quotes_gpc','magic_quotes_runtime') as $a) | $module = get_loaded_extensions() |
| global | $os |
| $Res = $cn->count_sql($sql) | |
| if($Res==0) | $Resdossier = $cn->exec_sql("select dos_id, dos_name from ac_dossier") |
| if($version[0]< 8||($version[0]=='8'&&$version[2]< 4)) | $sql = "select lanname from pg_language where lanname='plpgsql'" |
| $succeed = "<span style=\"font-size:18px;color:green\">✓</span>" | |
| $version = $cn->get_value($sql) | |
| if(in_array('pgsql', $module)==false) | else |
| for ($e=0;$e< $MaxDossier;$e++) | |
| if (defined("MULTI")&&MULTI==1) | |
This file permit to upgrade a version of NOALYSS , it should be used and immediately delete after an upgrade. This file is included in each release for a new upgrade.
Definition in file setup.php.
| $MaxVersion = DBVERSIONREPO-1 |
Definition at line 464 of file setup.php.
Referenced by Database\apply_patch().
| foreach (array('magic_quotes_gpc','magic_quotes_runtime') as $a) $module = get_loaded_extensions() |
| global $os |
Definition at line 53 of file setup.php.
Referenced by config_file_form(), and is_unix().
Definition at line 51 of file setup.php.
Referenced by Database\apply_patch().