diff --git a/index.php b/index.php index ed47139..1457ae5 100644 --- a/index.php +++ b/index.php @@ -21,16 +21,6 @@ define('ROOT', rtrim(dirname(__FILE__), '\\/')); define('BACKEND', false); define('MONSTRA_ACCESS', true); -/* TEMP CODE BEGIN */ -function byteFormat($size) -{ - $unit = array('b', 'kb', 'mb', 'gb', 'tb', 'pb'); - - return @round($size/pow(1024, ($i=floor(log($size, 1024)))), 2).' '.$unit[$i]; -} -$_start = memory_get_usage(); -/* TEMP CODE END */ - // First check for installer then go if (file_exists('install.php')) { if (isset($_GET['install'])) { @@ -70,8 +60,4 @@ if (file_exists('install.php')) { // Flush (send) the output buffer and turn off output buffering ob_end_flush(); -} - -/* TEMP CODE BEGIN */ -echo byteFormat(memory_get_usage() - $_start); -/* TEMP CODE END */ +} \ No newline at end of file