From: <gbr...@us...> - 2003-09-10 20:36:45
|
Update of /cvsroot/phpwebsite-comm/modules/staffman/boost In directory sc8-pr-cvs1:/tmp/cvs-serv25525/boost Added Files: update.php Log Message: Add update.php file to reload new help data for View All --- NEW FILE: update.php --- <?php /** * Update file for staffman * * Creates mod_staffman_staffmember table, an image directory, and registers the module * with the help and search systems. * * @version $Id: update.php,v 1.1 2003/09/10 20:36:08 gbrackett Exp $ * @author George Brackett <gbr...@NO...> */ /* return to home page if the user is not the Deity */ if (!$_SESSION["OBJ_user"]->isDeity()){ header("location:index.php"); exit(); } $status = 1; if ($currentVersion < 1.2) { $content = "Updating Staff Listing to version 1.2 .<br />"; /* reload the help information if help system is loaded */ if(isset($_SESSION["OBJ_help"])) { CLS_help::uninstall_help("staffman"); CLS_help::setup_help("staffman"); $content .= "New Staff Listing help successfully loaded.<br />"; } else { $content .= "Unable to update Staff Listing help data.<br />"; } $content .= "Update to version 1.2 finished.<br />"; } ?> |