Would it be possible to read all the options from a separate file? I was
thinking something along the lines of:-
if( file_exists( 'timthumb-options.php' ) ) require_once(
'timthumb-options.php' );
if( !defined( 'DEBUG_ON' ) ) define ('DEBUG_ON', false);
if( !defined( 'DEBUG_LEVEL' ) ) define ('DEBUG_LEVEL', 1);
etc...
Doing something like this would mean no change for anyone using the defaults,
but would make it very simple to override any option and make updating timthumb
a simple file replacement, which would make it much quicker and easier to keep
timthumb updated.
Thanks,
mark.
Original issue reported on code.google.com by m...@rowatt.com on 8 Aug 2011 at 10:24
Original issue reported on code.google.com by
m...@rowatt.com
on 8 Aug 2011 at 10:24