コード例 #1
0
ファイル: control.php プロジェクト: jpbauer/knowledgetree
 * 
 * In accordance with Section 7(b) of the GNU General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * KnowledgeTree" logo and retain the original copyright notice. If the display of the 
 * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
 * must display the words "Powered by KnowledgeTree" and retain the original 
 * copyright notice.
 * Contributor( s): ______________________________________
 *
 */
// check if system has been installed
require_once "setup/wizard/installUtil.php";
// Check if system has been installed
$iu = new InstallUtil();
if (!$iu->isSystemInstalled()) {
    $iu->redirect("setup/wizard");
    exit(0);
}
// main library routines and defaults
require_once 'config/dmsDefaults.php';
/**
 * Controller page -- controls the web application by responding to a set of
 * defined actions.  The controller performs session handling, page-level
 * authentication and forwards the request to the appropriate handling
 * page.
 */
// -------------------------------
// page start
// -------------------------------
$action = $_REQUEST['action'];
if ($action != 'login') {