From 30e78f2178074cf91ec820f47805e8dcc431ab28 Mon Sep 17 00:00:00 2001 From: Kanti Date: Wed, 23 Jul 2014 16:50:11 +0200 Subject: [PATCH] performance boost --- system/includes/updater.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/includes/updater.php b/system/includes/updater.php index 4aeaf21..e207c12 100644 --- a/system/includes/updater.php +++ b/system/includes/updater.php @@ -39,6 +39,8 @@ class Updater { protected $context = null; protected function genCaFile(){ + if(file_exists("cache/ca_bundle.crt")) + return 1; //https://github.com/bagder/ca-bundle file_put_contents("cache/ca_bundle.crt", "## ## ca-bundle.crt -- Bundle of CA Root Certificates