Index: trunk/wb/framework/frontend.functions.php
===================================================================
--- trunk/wb/framework/frontend.functions.php	(revision 315)
+++ trunk/wb/framework/frontend.functions.php	(revision 316)
@@ -249,10 +249,10 @@
 // Function for page footer
 if (!function_exists('page_footer')) {
 	function page_footer($date_format = 'Y') {
-		global $starttime;
-		$vars = array('[YEAR]', '[PROCESSTIME]');
+		global $starttime,$startmemory;
+		$vars = array('[YEAR]', '[PROCESS_TIME]', '[MEMORY_USAGE]');
 		$processtime=array_sum(explode(" ",microtime()))-$starttime;
-		$values = array(date($date_format),$processtime);
+		$values = array(date($date_format),$processtime,memory_get_usage()-$startmemory);
 		echo str_replace($vars, $values, WEBSITE_FOOTER);
 	}
 }
Index: trunk/wb/index.php
===================================================================
--- trunk/wb/index.php	(revision 315)
+++ trunk/wb/index.php	(revision 316)
@@ -24,6 +24,7 @@
 */
 
 $starttime = array_sum(explode(" ",microtime()));
+$startmemory = memory_get_usage();
 
 // Include config file
 require_once(dirname(__FILE__).'/config.php');
@@ -56,4 +57,4 @@
 // Display the template
 require(WB_PATH.'/templates/'.TEMPLATE.'/index.php');
 
-?>
\ No newline at end of file
+?>
