includes/rijndael.php
changeset 1327 e8f4dea267c8
parent 1227 bdac73ed481e
child 1330 1649f687e69e
--- a/includes/rijndael.php	Fri Nov 19 02:20:16 2010 -0500
+++ b/includes/rijndael.php	Fri Nov 19 02:46:14 2010 -0500
@@ -1729,10 +1729,7 @@
 		);
 	}
 	// call var_export and collect contents
-	ob_start();
-	var_export($aes_decrypt_cache);
-	$dec_cache_string = ob_get_contents();
-	ob_end_clean();
+	$dec_cache_string = var_export($aes_decrypt_cache, true);
 	$f = @fopen($cache_file, 'w');
 	if ( !$f )
 		return false;
@@ -1773,10 +1770,7 @@
 		unset($aes_decrypt_cache[$hash]);
 	
 	// call var_export and collect contents
-	ob_start();
-	var_export($aes_decrypt_cache);
-	$dec_cache_string = ob_get_contents();
-	ob_end_clean();
+	$dec_cache_string = var_export($aes_decrypt_cache, true);
 	$f = @fopen($cache_file, 'w');
 	if ( !$f )
 		return false;