$root = $_SERVER['DOCUMENT_ROOT'];
$header = "header.php";
$footer = "footer.php";
$views = new \PPV\Views($root, $header, $footer);
$views->load('homepage.php');
A simple class to load partials eg: header and footer!
License
Preshy/php-partials-view
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple class to load partials eg: header and footer!
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published