Project

General

Profile

« Previous | Next » 

Revision 95

Added by stefan about 19 years ago

Moved settings from config.php into database.
NOT FULLY WORKING!!!

View differences:

class.admin.php
84 84
		global $MESSAGE;
85 85
		global $TEXT;
86 86
		// Connect to database and get website title
87
		$database = & $this->database;
87
		global $database;
88 88
		$get_title = $database->query("SELECT value FROM ".TABLE_PREFIX."settings WHERE name = 'title'");
89 89
		$title = $get_title->fetchRow();
90 90
		$header_template = new Template(ADMIN_PATH."/interface");

Also available in: Unified diff