Class mvc_module_loader
to load a ControllerPage as module of the viewer, if your pages are not in the webserver root directory like:
/var/www/mywebsite => main path of your website / path where the viewer is located
/war/www/mywebsite/pages => path where the pages are located
this is necessary for a search engine friendly web applications
so you can call each page in the following both way
www.yourdomain.com/?mvc_page=xx.php or www.yourdomain.com/pages/xx.php
!!!see the mvc samples!!!
Located at mvc.inc.php
Methods summary
public
|
#
__construct( string $viewer_path = "./", string $viewer_page = "index.php", array $exclude_pages = null )
init the mvc module loader |