Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function load_module($module)
- {
- if (!preg_match('%[a-z]%', $module)) {
- die('Invalid page');
- }
- include '../module/'. $module . '/' . $module. '.php';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement