Skip to content

rooturi support #48

@stanistan

Description

@stanistan

In index.php:

<?

// ... other settings

$sky_root_uri = '/project'; // defaults to '/'

// ... include sky.php
OR
<?

$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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions