Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (17 sloc) 0.524 kb
<?php
require 'site-config.php';
require 'app/Plugins.php';
require 'app/Plugin.php';
require 'app/Pageloader.php';
require 'app/Mailer.php';
Plugins::register_all();
// main pages controller
$page_name = array_key_exists('page', $_GET) ? $_GET['page'] : 'home';
$loader = new PageLoader($page_name);
// Ajax partial request from jNavigate
if (array_key_exists('jnavigate', $_REQUEST)) {
$loader->view();
exit();
}
// pull in theme index page
include 'themes/'.THEME.'/index.php';
Jump to Line
Something went wrong with that request. Please try again.