Add. option to store setting in memcache. (#1707)

This commit is contained in:
Alexey Melnichuk
2016-06-26 20:43:32 +03:00
committed by FusionPBX
parent a4dfa0c04d
commit f8c2904aaf
2 changed files with 25 additions and 13 deletions

View File

@@ -207,6 +207,11 @@ if (!class_exists('scripts')) {
$tmp .= $this->correct_path(" document_root = [[".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."]];\n");
$tmp .= "\n";
$tmp = "\n";
$tmp .= "--store settings in memcache\n";
$tmp .= $this->correct_path(" settings_in_cache = false;\n");
$tmp .= "\n";
if ((strlen($this->db_type) > 0) || (strlen($this->dsn_name) > 0)) {
$tmp .= "--database information\n";
$tmp .= " database = {}\n";