1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Media-Manager fixes and refinements

This commit is contained in:
CaMer0n
2012-07-18 06:34:26 +00:00
parent 2b57902e68
commit 1f073d0552
9 changed files with 126 additions and 30 deletions

View File

@@ -25,15 +25,17 @@
define('e107_INIT', true);
//error_reporting(E_ALL);
// error_reporting(E_ALL);
error_reporting(0); // suppress all errors or image will be corrupted.
//require_once './e107_handlers/benchmark.php';
//$bench = new e_benchmark();
//$bench->start();
$thumbpage = new e_thumbpage();
if(!$thumbpage->checkSrc())
{
die(' Access denied!');
@@ -300,6 +302,7 @@ class e_thumbpage
echo 'Headers already sent! ';
exit;
}
if (function_exists('date_default_timezone_set'))
{
date_default_timezone_set('UTC');