diff --git a/main/install/update-files-1.8.4-1.8.5.inc.php b/main/install/update-files-1.8.4-1.8.5.inc.php new file mode 100755 index 0000000000..3afc577f33 --- /dev/null +++ b/main/install/update-files-1.8.4-1.8.5.inc.php @@ -0,0 +1,88 @@ +')) + { + //ignore the line + $ignore = true; + } + if(!$ignore) + { + fwrite($fh,$line); + } + } + if(!$found_version) + { + fwrite($fh,'$_configuration[\'dokeos_version\'] = \''.$new_version.'\';'."\r\n"); + } + if(!$found_stable) + { + fwrite($fh,'$_configuration[\'dokeos_stable\'] = '.($new_version_stable?'true':'false').';'."\r\n"); + } + fwrite($fh,'?>'); + fclose($fh); +} +else +{ + echo 'You are not allowed here !'; +} +?> \ No newline at end of file