projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4f1094
)
Read start page from file
author
Joey Schulze
<joey@infodrom.org>
Thu, 9 Dec 2010 20:16:10 +0000
(21:16 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 9 Dec 2010 20:16:10 +0000
(21:16 +0100)
lib/general.php
patch
|
blob
|
history
diff --git
a/lib/general.php
b/lib/general.php
index
cbb5191
..
5066341
100644
(file)
--- a/
lib/general.php
+++ b/
lib/general.php
@@
-159,7
+159,10
@@
function process()
return mask($_GET['mask']);
}
return mask($_GET['mask']);
}
- $ret = '<div style="height: 600px; font-size: large; font-weight: bold;">Willkommen in der Kostenrechnung der Friesoyther Wasseracht!</div>';
+ $ret = '';
+ $fname = $_SESSION['sys']['basedir'] . 'data/misc/start.html';
+ if (file_exists($fname))
+ return file_get_contents($fname);
return $ret;
}
return $ret;
}