831 |
florian |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
////////////////////////////////////////////////////////////////////////////////
|
|
|
4 |
// //
|
|
|
5 |
// Copyright (C) 2006 Phorum Development Team //
|
|
|
6 |
// http://www.phorum.org //
|
|
|
7 |
// //
|
|
|
8 |
// This program is free software. You can redistribute it and/or modify //
|
|
|
9 |
// it under the terms of either the current Phorum License (viewable at //
|
|
|
10 |
// phorum.org) or the Phorum License that was distributed with this file //
|
|
|
11 |
// //
|
|
|
12 |
// This program is distributed in the hope that it will be useful, //
|
|
|
13 |
// but WITHOUT ANY WARRANTY, without even the implied warranty of //
|
|
|
14 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. //
|
|
|
15 |
// //
|
|
|
16 |
// You should have received a copy of the Phorum License //
|
|
|
17 |
// along with this program. //
|
|
|
18 |
////////////////////////////////////////////////////////////////////////////////
|
|
|
19 |
|
|
|
20 |
if(!defined("PHORUM_ADMIN")) return;
|
|
|
21 |
|
|
|
22 |
$mod=$_REQUEST["mod"];
|
|
|
23 |
|
|
|
24 |
if(file_exists("./mods/$mod/settings.php")){
|
|
|
25 |
|
|
|
26 |
include_once("./mods/$mod/settings.php");
|
|
|
27 |
|
|
|
28 |
} else {
|
|
|
29 |
|
|
|
30 |
echo "There are no settings for this module.";
|
|
|
31 |
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
?>
|