From c4197e4a38f2d202ae76f3479734b710d2be514f Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 30 Oct 2007 07:20:17 +0100 Subject: [PATCH] [svn r13601] Version for 1.8.4 to 1.8.5 upgrade (not sure this is needed) --- main/install/update-files-1.8.4-1.8.5.inc.php | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100755 main/install/update-files-1.8.4-1.8.5.inc.php 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