Update of /cvsroot/phpwebsite-comm/modules/article/boost
In directory sc8-pr-cvs1:/tmp/cvs-serv21580/boost
Modified Files:
install.php
Log Message:
Added check for proper version of phpWS
Index: install.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/install.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** install.php 9 Jul 2003 20:24:22 -0000 1.1
--- install.php 6 Aug 2003 02:35:02 -0000 1.2
***************
*** 13,16 ****
--- 13,22 ----
}
+ if($GLOBALS["core"]->version < "0.9.2-1")
+ {
+ $content .= "This module requires a phpWebSite core version of 0.9.2-1 or greater to install.<br />";
+ $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />";
+ } else {
+
/* Don't overwrite the tables for this module if they're already there */
if ($GLOBALS['core']->sqlTableExists("mod_article", true)
***************
*** 86,88 ****
--- 92,95 ----
else
$content .= 'There was a problem writing to the database.<br />';
+ }
?>
|