Private
Public Access
15 lines
383 B
PHP
15 lines
383 B
PHP
<?php
|
|
|
|
include('config/settings.php');
|
|
include('lib/ulib.php');
|
|
include('lib/render.php');
|
|
|
|
URL::MakeRoute();
|
|
|
|
ob_start();
|
|
print(component(first(URL::$route['l-path'], 'index'), $_REQUEST['attr']['id']));
|
|
$content = ob_get_clean();
|
|
|
|
include(cfg('theme/path').'/page.'.URL::$route['content-type'].'.php');
|
|
|
|
Log::audit('page:'.URL::$route['page'], URL::$route['l-path']); |