Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $url = $_SERVER['REQUEST_URI'];
- $layout = file_get_contents("layout.php");
- $content = file_get_contents($url.'.php');
- $layout = str_replace("{{content}}",$content,$layout);
- echo $layout;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement