Human readable permission data will now be cached in serialized form for faster page generation.

This commit is contained in:
Hans-Emil Skogh 2012-01-10 19:53:23 +01:00
parent bb23e7fd4c
commit 88196e8b9b
2 changed files with 36 additions and 3 deletions

View file

@ -103,7 +103,7 @@ class FDroid
function get_app($query_vars) {
$permissions_data = get_android_permissions_array($this->site_path.'/repo/AndroidManifest.xml', $this->site_path.'/repo/strings.xml');
$permissions_data = get_android_permissions_array($this->site_path.'/repo/AndroidManifest.xml', $this->site_path.'/repo/strings.xml', $this->site_path.'/repo/android-permissions.cache');
$xml = simplexml_load_file($this->site_path.'/repo/index.xml');
foreach($xml->children() as $app) {