diff options
Diffstat (limited to 'static/includes')
| -rw-r--r-- | static/includes/settings.inc.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/includes/settings.inc.php b/static/includes/settings.inc.php index 41f7679..3155a60 100644 --- a/static/includes/settings.inc.php +++ b/static/includes/settings.inc.php @@ -17,4 +17,15 @@ define('POMF_DB_PASS', '***'); define('POMF_FILES_ROOT', '/mnt/disk1/pomf/files/'); // How many times to retry when exists() before giving up define('POMF_FILES_RETRIES', 30); + +/** + * Double-dot extensions + */ +$doubledots = array_map('strrev', array( + 'tar.gz', + 'tar.bz', + 'tar.bz2', + 'tar.xz' +)); + ?> |
