Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $p = (isset($_GET['p'])) ? $_GET['p'] : "";
- ?>
- <?php
- if (file_exists("pages/$p.php")) {
- include("pages/$p.php");
- }else{
- include("pages/home.php");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement