aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mlmmj-webarchiver/index.php.newlist1
-rw-r--r--mlmmj-webarchiver/skel/index.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/mlmmj-webarchiver/index.php.newlist b/mlmmj-webarchiver/index.php.newlist
index 425d4b2..1d78851 100644
--- a/mlmmj-webarchiver/index.php.newlist
+++ b/mlmmj-webarchiver/index.php.newlist
@@ -10,6 +10,7 @@ while($file = readdir($handle)) {
closedir($handle);
rsort($files);
reset($files);
+$archived_months = "";
foreach($files as $k => $file) {
if (! isset($year) || $year != substr($file, 0, 4)) {
$year = substr($file, 0, 4);
diff --git a/mlmmj-webarchiver/skel/index.php b/mlmmj-webarchiver/skel/index.php
index 7247927..64ebd55 100644
--- a/mlmmj-webarchiver/skel/index.php
+++ b/mlmmj-webarchiver/skel/index.php
@@ -2,6 +2,7 @@
$baselistdir = getcwd();
$mlist = substr(strrchr ($baselistdir, "/"), 1);
$mlistdir = opendir($baselistdir);
+ $navlists = $bodylists = "";
while($file = readdir($mlistdir)) {
if($file != "." && $file != ".." && $file != "images" && $file != "style"
&& is_dir($baselistdir . "/" . $file)) {