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

@ -98,9 +98,6 @@
* Extremely beta and not recommended yet. * Extremely beta and not recommended yet.
*/ */
define('ALLOW_ZIP', false, true); define('ALLOW_ZIP', false, true);
define('ZIP_IMAGE', 'static/zip.png', true);
define('DELETED_IMAGE', 'static/deleted.png', true);
/** /**
Redraw the image using GD functions to strip any excess data (commonly ZIP archives) Redraw the image using GD functions to strip any excess data (commonly ZIP archives)
@ -126,6 +123,12 @@
// examples: '/', 'http://boards.chan.org/', '/chan/' // examples: '/', 'http://boards.chan.org/', '/chan/'
define('ROOT', '/', true); 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, // 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. // enter the directory path here. Otherwise, keep it false.
define('ROOT_FILE', false, true); define('ROOT_FILE', false, true);
@ -143,10 +146,6 @@
// "302" is recommended. // "302" is recommended.
define('REDIRECT_HTTP', 302, true); 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 Mod stuff
*/ */