This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CRM/Utils/Cache.php b/CRM/Utils/Cache.php | |
index 94b2cfb..d03955d 100644 | |
--- a/CRM/Utils/Cache.php | |
+++ b/CRM/Utils/Cache.php | |
@@ -105,6 +105,7 @@ class CRM_Utils_Cache { | |
$defaults = array(); | |
break; | |
+ case 'Redis': | |
case 'Memcache': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CRM/Extension/Mapper.php b/CRM/Extension/Mapper.php | |
index f765afb..ac27547 100755 | |
--- a/CRM/Extension/Mapper.php | |
+++ b/CRM/Extension/Mapper.php | |
@@ -288,6 +288,10 @@ class CRM_Extension_Mapper { | |
$moduleExtensions = $this->cache->get($this->cacheKey . '/moduleFiles'); | |
} | |
+ if ($fresh == 'NOCACHE') { | |
+ $moduleExtensions = NULL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/templates/CRM/common/civicrm.settings.php.template b/templates/CRM/common/civicrm.settings.php.template | |
index 41518ca..21dc8fe 100644 | |
--- a/templates/CRM/common/civicrm.settings.php.template | |
+++ b/templates/CRM/common/civicrm.settings.php.template | |
@@ -281,6 +281,22 @@ if (!defined('CIVICRM_DOMAIN_ID')) { | |
*/ | |
/** | |
+* Redis Caching | |
+* Using Redis Caching via an extention instead of database -- uncomment below to use. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CRM/Utils/Cache.php b/civicrm/CRM/Utils/Cache.php | |
index e2cdd2d..b106c3c 100644 | |
--- a/CRM/Utils/Cache.php | |
+++ b/CRM/Utils/Cache.php | |
@@ -108,6 +108,7 @@ class CRM_Utils_Cache { | |
$defaults = array(); | |
break; | |
+ case 'Redis': | |
case 'Memcache': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /templates/CRM/common/civicrm.settings.php.template | |
+++ /templates/CRM/common/civicrm.settings.php.template | |
@@ -54,6 +54,60 @@ | |
define( 'CIVICRM_UF' , '%%cms%%' ); | |
} | |
+ /** | |
+ * Pantheon Systems: | |
+ * | |
+ * Repopulate needed variables based on the Pantheon environment if applicable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<meta name="Name" content="App Example: Time Logs"/> | |
<title>Time logs</title> | |
<script type="text/javascript" src="/apps/1.26/sdk.js"></script> | |
<script type="text/javascript"> | |
function timeLogs() { |
NewerOlder