#### In `index.php`: ``` php <? // ... other settings $sky_root_uri = '/project'; // defaults to '/' // ... include sky.php ``` ##### OR ``` php <? $router = new PageRouter([ 'root' => '/project' ]); ``` --- #### Outcome - Everything in the `pages` directory run as if it were in `pages/project/` - templates can be accessed from `/project/templates/html5/` - Have the ability to run multiple skyphp apps from one domain (possibly of different versions)
In
index.php:OR
Outcome
pagesdirectory run as if it were inpages/project//project/templates/html5/