Rearranged some stuff in config.php

This commit is contained in:
Savetheinternet 2011-01-02 15:30:20 +11:00
parent ed69333580
commit 55595e8cfd

View File

@ -97,11 +97,8 @@
* get dumped into the thread as replies.
* Extremely beta and not recommended yet.
*/
define('ALLOW_ZIP', false, true);
define('ZIP_IMAGE', 'static/zip.png', true);
define('ALLOW_ZIP', false, true);
define('DELETED_IMAGE', 'static/deleted.png', true);
/**
Redraw the image using GD functions to strip any excess data (commonly ZIP archives)
WARNING: Very beta. Currently strips animated GIFs too :(
@ -126,6 +123,12 @@
// examples: '/', 'http://boards.chan.org/', '/chan/'
define('ROOT', '/', true);
// Static images
// These can be URLs OR base64 (data URI scheme)
define('IMAGE_STICKY', ROOT . DIR_STATIC . 'sticky.gif', true);
define('DELETED_IMAGE', ROOT . DIR_STATIC . 'deleted.png', true);
define('ZIP_IMAGE', ROOT . DIR_STATIC . 'zip.png', true);
// If for some reason the folders and static HTML index files aren't in the current working direcotry,
// enter the directory path here. Otherwise, keep it false.
define('ROOT_FILE', false, true);
@ -143,10 +146,6 @@
// "302" is recommended.
define('REDIRECT_HTTP', 302, true);
// Static images
// These can be URLs OR base64 (data URI scheme)
define('IMAGE_STICKY', ROOT . DIR_STATIC . 'sticky.gif', true);
/*
Mod stuff
*/