Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 789 Bytes
<?php
define("DEBUG", 0);
if (DEBUG == 1)
{
ini_set('display_errors', 'On');
error_reporting(E_ALL);
echo "DEBUG MODE ON<br/>";
}
//global strings
define("SITE_NAME", "Img48");
define("VERSION_STRING", "Version 0.2 (beta), March 28, 2012");
define("BR", "<br/>");
define("ROOT_PATH", dirname(__FILE__).'/');
define("IMAGES_PATH", ROOT_PATH."images/");
define("THUMBS_PATH", ROOT_PATH."thumbs/");
define("IMAGES_RELATIVE_PATH", "images/");
define("THUMBS_RELATIVE_PATH", "thumbs/");
define("SCRIPTS_PATH", ROOT_PATH."scripts/");
define("DB_PATH", ROOT_PATH."db/");
define("INCLUDES_PATH", ROOT_PATH."includes/");
define("MAX_UPLOAD_SIZE", 1024);
define("KILO", 1000);
//file constants
define("IPLOG_DB", DB_PATH."iplog.csv");
define("IMAGE_INDEX_DB", DB_PATH."imageindex.csv");
?>