Skip to content

Commit

Permalink
1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Taggart committed Nov 14, 2014
1 parent af517e5 commit ec1e07d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mthumb
mThumb (a secure PHP image resize script)
======

A secure, slimmed down version of the ol' standby TimThumb.
Expand Down
8 changes: 4 additions & 4 deletions mthumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
/**
* Version of this script *
*/
define ('VERSION', '0.9.1');
define ('VERSION', '1.0');

//Load a config file if it exists. Otherwise, use the values below
if(file_exists(dirname(__FILE__).'/mthumb-config.php')) {
Expand All @@ -58,7 +58,7 @@
/**
* Enable debug logging to web server error log (STDERR)
*/
define ('DEBUG_ON', false);
define ('DEBUG_ON', FALSE);
}

if(!defined('DEBUG_LEVEL')) {
Expand All @@ -80,7 +80,7 @@
/**
* Allow image fetching from external websites. Will check against ALLOWED_SITES always. *
*/
define ('ALLOW_EXTERNAL', false);
define ('ALLOW_EXTERNAL', FALSE);
}

if(!isset($ALLOWED_SITES)) {
Expand Down Expand Up @@ -184,7 +184,7 @@
/**
* Use for testing if you want to disable all browser caching
*/
define ('BROWSER_CACHE_DISABLE', TRUE); // @todo mindshare change this
define ('BROWSER_CACHE_DISABLE', FALSE);
}

if(!defined('MAX_WIDTH')) {
Expand Down

0 comments on commit ec1e07d

Please sign in to comment.