whoops, shouldn't have pulled that variable
authorToby Elliott <telliott@mozilla.com>
Thu, 09 Jul 2009 10:06:49 -0700
changeset 1071 a711bf967a09d34bbeb55bd28716b874f0107584
parent 1070 af79cdf45832efebf878f3d127aaecf4eba0a954
child 1072 7ced99157240f1a6f0440925a000bd01a14e9fbe
push id688
push usertelliott@mozilla.com
push dateThu, 09 Jul 2009 17:06:52 +0000
whoops, shouldn't have pulled that variable
compile.php
--- a/compile.php
+++ b/compile.php
@@ -39,17 +39,17 @@
 	
 	require_once 'server/lib/personas_constants.php';	
 	require_once 'server/lib/personas_functions.php';	
 	require_once 'server/lib/storage.php';
 
 	
 	$db = new PersonaStorage();
 	$categories = $db->get_categories();
-
+	$page_size = 501;
 	
 	#Top level popular page
 	$popular_list = array_slice($db->get_popular_personas(null), 21);
 	foreach ($popular_list as $item)
 	{
 		$data = extract_record_data($item);
 		$data['recent'] = (time() - strtotime($item['approve']) < 604800) ? true : false;
 		$popular_json[] = $data;