projects
/
infodrom.org
/
oldenburg.linux.de
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3981241
)
Hide public errors
author
Joey Schulze
<joey@infodrom.org>
Mon, 20 Feb 2012 14:33:33 +0000
(14:33 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 20 Feb 2012 14:33:33 +0000
(14:33 +0000)
src/index.wml
patch
|
blob
|
history
diff --git
a/src/index.wml
b/src/index.wml
index
dc7e9af
..
54da718
100644
(file)
--- a/
src/index.wml
+++ b/
src/index.wml
@@
-22,7
+22,7
@@
function next_date()
$pivot = time() + 60*60*24*$max_days;
$now = mktime(0,0,0, date('m'), date('d'), date('Y'));
$pivot = time() + 60*60*24*$max_days;
$now = mktime(0,0,0, date('m'), date('d'), date('Y'));
- if (($dates = fopen($datedb,'r')) !== false) {
+ if (($dates =
@
fopen($datedb,'r')) !== false) {
$lines = array();
while (!feof($dates)) {
$line = fgets($dates, 200);
$lines = array();
while (!feof($dates)) {
$line = fgets($dates, 200);
@@
-76,7
+76,7
@@
function display_news($when, $file)
$date = strftime("%e. %B %Y", $when);
$date = strftime("%e. %B %Y", $when);
- if (($news = fopen($newsdir.'/'.$file,'r')) !== false) {
+ if (($news =
@
fopen($newsdir.'/'.$file,'r')) !== false) {
$needp = 0; // 0 = init, 1 = <p> need, 2 = no <p> needed
printf($head."\n", $date);
$needp = 0; // 0 = init, 1 = <p> need, 2 = no <p> needed
printf($head."\n", $date);