Update of /cvsroot/logicampus/logicampus/src/public_html/install
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv3958
Modified Files:
install_proc.php
Log Message:
Don't forget the build date and version information when installing.
Index: install_proc.php
===================================================================
RCS file: /cvsroot/logicampus/logicampus/src/public_html/install/install_proc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** install_proc.php 4 Oct 2007 02:12:11 -0000 1.4
--- install_proc.php 5 Jan 2008 17:54:27 -0000 1.5
***************
*** 23,26 ****
--- 23,30 ----
$defines = str_replace( '@db.password@', $_POST['db_pass'], $defines);
$defines = str_replace( '@db.database@', $_POST['db_name'], $defines);
+ $defines = str_replace( '@version.number@', LOGICAMPUS_VERSION, $defines);
+ $defines = str_replace( '@version.extra@', LOGICAMPUS_VERSION_STATUS, $defines);
+ $defines = str_replace( '@build.date@', LOGICAMPUS_BUILD_DATE, $defines);
+
$f = fopen('../defines.php','w');
if (!$f) {
|