Update reference to Query
This commit is contained in:
parent
f666915536
commit
e1d00672dd
@ -310,9 +310,6 @@ function init()
|
||||
// Load Database classes
|
||||
require_once(MM_SYS_PATH . 'db/autoload.php');
|
||||
|
||||
// Load the page class
|
||||
$GLOBALS['page'] = new \miniMVC\Page();
|
||||
|
||||
// Map to the appropriate module/controller/function
|
||||
route();
|
||||
}
|
||||
|
@ -37,8 +37,10 @@ class Controller {
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
// Create the page object
|
||||
$this->page = $GLOBALS['page'];
|
||||
if (is_null($this->page))
|
||||
{
|
||||
$this->page = new Page();
|
||||
}
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
2
sys/db
2
sys/db
@ -1 +1 @@
|
||||
Subproject commit 1e71b225c533bada107f439106c9216982b62daa
|
||||
Subproject commit c963dc29f252d2d237ceacf8300e6e3030abd584
|
Loading…
Reference in New Issue
Block a user