diff --git a/index.php b/index.php index a22d81c..9f3e61f 100644 --- a/index.php +++ b/index.php @@ -19,7 +19,7 @@ $GLOBALS['config']['defaultUrl'] = 'https://duckduckgo.com/'; // default size for thumbnail $GLOBALS['config']['defaultThumbSize'] = '120x90'; // generate only thumbnail or generate thumbnail + 1280x1024 image -$GLOBALS['config']['onlyThumb'] = true; +$GLOBALS['config']['onlyThumb'] = false; // list of available size for thumb $GLOBALS['config']['thumbSize'] = array( 's' => '120x90', @@ -35,6 +35,10 @@ $GLOBALS['config']['disableExec'] = false; // Enable log for success, suspect, error $GLOBALS['config']['log'] = false; +if (file_exists('cache/config/options.php')) { + require 'cache/config/options.php'; +} + if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); @@ -339,7 +343,7 @@ function savePass($passOne, $passTwo, $token) { $GLOBALS[\'config\'][\'salt\'] = \''.$confSalt.'\'; $GLOBALS[\'config\'][\'pwd\'] = \''.$confPwd.'\'; ?>'; - file_put_contents('cache/config/genConf.php',$confFile); + file_put_contents('cache/config/genConf.php', $confFile); } header("Location:?"); } @@ -363,9 +367,9 @@ function n_print($data, $name = '') { echo '