From e759f7e7833256e1cdfa7bd43eb4d57d7bec954c Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 5 Aug 2013 09:56:56 -0400
Subject: [PATCH] Don't time out during security fix.

---
 module/VuFind/src/VuFind/Controller/InstallController.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/module/VuFind/src/VuFind/Controller/InstallController.php b/module/VuFind/src/VuFind/Controller/InstallController.php
index 2a1fa83faad..2a15aab5207 100644
--- a/module/VuFind/src/VuFind/Controller/InstallController.php
+++ b/module/VuFind/src/VuFind/Controller/InstallController.php
@@ -688,6 +688,9 @@ class InstallController extends AbstractBase
      */
     public function performsecurityfixAction()
     {
+        // This can take a while -- don't time out!
+        set_time_limit(0);
+
         // First, set encryption/hashing to true, and set the key
         $config = $this->getConfig();
         $configPath = ConfigLocator::getLocalConfigPath('config.ini', null, true);
-- 
GitLab