mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 23:07:59 +00:00
Config-Module added to frontend
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@36 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
include_once("php_inc/module.inc.php");
|
||||
include_once("php_inc/parser.inc.php");
|
||||
include_once("php_inc/connection.inc.php");
|
||||
include_once("php_inc/config.inc.php");
|
||||
|
||||
|
||||
/* Klasse, die die ModuleSets Verwaltet */
|
||||
@@ -23,6 +24,8 @@ class ModuleSet{
|
||||
|
||||
/* Dateinamen eines Setz aus dessen Namen zusammenbauen */
|
||||
function _getSetFilename($setName){
|
||||
if($setName == "")
|
||||
$setName = Config::getDefaultSet();
|
||||
return "content/module_sets/set_".$setName.".html";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user