mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-28 03:40:54 +00:00
3e2278d692
--HG-- branch : rc-botanic-webdev
20 lines
451 B
PHP
20 lines
451 B
PHP
<?php
|
|
|
|
require( '../config.php' );
|
|
require( '../../ams_lib/libinclude.php' );
|
|
|
|
if ( isset( $_POST["function"] ) ){
|
|
require( "inc/" . $_POST["function"] . ".php" );
|
|
$return = $_POST["function"]();
|
|
}
|
|
|
|
function loadpage ( $page ){
|
|
require_once( 'autoload/' . $page . '.php' );
|
|
}
|
|
|
|
$page = 'home';
|
|
if ( isset( $_GET["page"] ) ){
|
|
$page = $_GET["page"];
|
|
}
|
|
|
|
helpers :: loadTemplate( 'register' , $return );
|