Skip to content

rooturi support #48

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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