aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-14index.php, index.php.newlist: explicitly set *lists and archived_monthsHEADmasterTomasz Kramkowski2-0/+2
When these variables are first set using .= they raise an error about them being undefined. Explicitly setting them should get rid of the error and avoid an error if there are no list directories (this would be odd) or if there are no months for a list (maybe not quite as unusual). Signed-off-by: Tomasz Kramkowski <tk@the-tk.com>
2017-08-14index.php: reorder is_dir to end of expression to avoid unnecessary checkTomasz Kramkowski1-1/+2
Putting is_dir first unnecessarily checks all the paths which will end up being discarded later. This might slow down operation only if you're hosting your archive off of a floppy disk. However, this early check does raise issues when open_basedir is pretty strict and prevents access to `$baselistdir . "/.."`. Moving the check to the end of the expression avoids filling logs with warnings about open_basedir restrictions being in effect. Signed-off-by: Tomasz Kramkowski <tk@the-tk.com>
2015-09-24Filter out images and style directories; fix call-time pass-by-reference ↵pingswept2-3/+3
problem for PHP5 (I think?)
2014-01-22Update README.mlmmj-webarchiver-1.0.0Andreas Schneider1-2/+8
2013-03-11layout: Add date to TSingleTxt element.Manuel Silvoso1-0/+5
2013-03-01Add a working search functionality.Manuel Silvoso8-56/+100
2013-03-01Add date to each message.Manuel Silvoso1-4/+16
2010-01-17Fixed a typo.Andreas Schneider1-1/+1
2009-09-13Improved config file and added more description.Andreas Schneider2-12/+23
2009-09-13Fixed path in the layout.Andreas Schneider1-21/+15
2009-09-13Added year separation for mailing list index file.Andreas Schneider1-7/+17
2009-09-13Fixed path of index file for lists.Andreas Schneider1-4/+4
2009-09-13Added missing variable in the config file.Andreas Schneider1-1/+4
2009-09-13Fixed path.Andreas Schneider1-4/+4
2009-09-12Initial commit.Andreas Schneider16-0/+1730