ensure we cannot get duplicate flags in the templatedetails.extra_flags column
require someone is logged in before they can attempt to delete an arbitrary file (SECURITY FIX)
reindent xerte/export.php
remove commented out code
remove trailing whitespace
Use tempnam instead of example_zipper_new based on a timestamp
reindent
use db_query functions for SQL (remove dependence on MySQL); use tempnam to create zip in temporary directory and not in CWD.
remove dependency on MySQL resource being passed into function (use an array instead); document function
reindent
add function parameter doc, add regexp to remove chars which could break the file download/name header
reindent config.php
Must exit after header redirects
PHP Syntax fix (failing to concatenate string)
might as well die with a message
fix commented out code
add index.html file to stop people browsing USER-FILES
customise the error message a little to make it more traceable
Allow non-string like things to go into _debug (print_r them).
reindent