mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-05 12:48:00 +02:00
Pages Plugin: code optimizations
This commit is contained in:
@@ -62,14 +62,9 @@
|
|||||||
/**
|
/**
|
||||||
* Main function
|
* Main function
|
||||||
*/
|
*/
|
||||||
public static function main() {
|
public static function main() {
|
||||||
if (BACKEND == false) {
|
Pages::$pages = new Table('pages');
|
||||||
$pages = new Table('pages');
|
Pages::$page = Pages::pageLoader();
|
||||||
Pages::$pages = $pages;
|
|
||||||
|
|
||||||
$page = Pages::pageLoader();
|
|
||||||
Pages::$page = $page;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user