Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Aliasy
- $names = array(
- 'corridor01' => 'korytarz01.php',
- 'bigroom' => 'wielka_sala',
- 'antechamber' => 'portretownia',
- 'tiara00' => 'tiara',
- 'entrance' => 'sala_wyjsciowa',
- 'filch' => 'filch',
- 'dormitory' => 'dorm',
- );
- try {
- $name = $names[$_GET['ppz']];
- require_once(MOD."hogwart/".$name.".php");
- $LOADLtpl = "hogwart/".$name.".tpl";
- $LOKACJAopis = "hogwart/".$name;
- }
- catch (Exception $error) {
- }
Add Comment
Please, Sign In to add comment