$root = $_SERVER['DOCUMENT_ROOT'];
$header = "header.php";
$footer = "footer.php";
$views = new \PPV\Views($root, $header, $footer);
$views->load('homepage.php');
-
Notifications
You must be signed in to change notification settings - Fork 2
A simple class to load partials eg: header and footer!
License
Preshy/php-partials-view
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