kolab.org/www

Torsten Grote grote at kolabsys.com
Wed Jun 20 16:45:33 CEST 2012


 kolab.org/www/drupal-7.14/sites/all/conf.php         |   57 +++++++++++++++++++
 kolab.org/www/drupal-7.14/sites/default/settings.php |   33 +++++++++++
 2 files changed, 90 insertions(+)

New commits:
commit 8cabbe425c8344cb6902af5768038f27eb0a268c
Author: Torsten Grote <grote at kolabsys.com>
Date:   Wed Jun 20 16:45:21 2012 +0200

    added setting files for upgrade

diff --git a/kolab.org/www/drupal-7.14/sites/all/conf.php b/kolab.org/www/drupal-7.14/sites/all/conf.php
new file mode 100644
index 0000000..cbe6919
--- /dev/null
+++ b/kolab.org/www/drupal-7.14/sites/all/conf.php
@@ -0,0 +1,57 @@
+<?php
+
+    # Turn off the captcha administration links
+    $conf['captcha_administration_mode']    = 0;
+
+    $conf['captcha_allow_on_admin_pages']   = 0;
+    $conf['captcha_default_challenge']      = 'recaptcha/reCAPTCHA';
+    $conf['captcha_log_wrong_responses']    = 1;
+
+    # reCaptcha is supposed to use a secure connection, and the theme
+    # is supposed to be clean
+    $conf['recaptcha_secure_connection']    = 1;
+    $conf['recaptcha_theme']                = 'clean';
+
+/*
+ * Disable caching for now, as it has been bothering development
+ *
+    $conf['cache_inc'] = './sites/all/modules/cache/cache.inc';
+    $conf['session_inc'] = './sites/all/modules/cache/session.inc';
+    $conf['cache_settings'] = array(
+      'engines' => array(
+        'db' => array(
+          'engine' => 'database',
+          'server' => array(),
+          'shared' => TRUE,
+          'prefix' => '',
+        ),
+        'apc' => array(
+          'engine' => 'apc',
+          'server' => array(),
+          'shared' => TRUE,
+          'prefix' => '',
+        ),
+      ),
+
+      'schemas' => array(
+        'db' => array(
+          // Engines:
+          'db',
+        ),
+        'apc' => array(
+          // Engines:
+          'apc',
+        ),
+      ),
+
+      'bins' => array(
+        // Bin name     => Schema name.
+        'default'       => 'db',
+        'cache'         => 'apc',
+        'cache_form'    => 'apc',
+        'cache_page'    => 'apc',
+        'cache_filter'  => 'apc',
+      ),
+    );
+*/
+?>
\ No newline at end of file
diff --git a/kolab.org/www/drupal-7.14/sites/default/settings.php b/kolab.org/www/drupal-7.14/sites/default/settings.php
new file mode 100644
index 0000000..0e7253f
--- /dev/null
+++ b/kolab.org/www/drupal-7.14/sites/default/settings.php
@@ -0,0 +1,33 @@
+<?php
+
+    # Include the unmanaged PHP file that contains the $db_url setting
+    require_once($_SERVER["DOCUMENT_ROOT"] . "/../db_url.php");
+
+    # Include the GIT managed PHP file that contains the $db_prefix setting
+    require_once("db_prefix.php");
+
+    $update_free_access = FALSE;
+
+    ini_set('arg_separator.output',     '&');
+    ini_set('magic_quotes_runtime',     0);
+    ini_set('magic_quotes_sybase',      0);
+    ini_set('session.cache_expire',     200000);
+    ini_set('session.cache_limiter',    'none');
+    ini_set('session.cookie_lifetime',  2000000);
+    ini_set('session.gc_maxlifetime',   200000);
+    ini_set('session.save_handler',     'user');
+    ini_set('session.use_cookies',      1);
+    ini_set('session.use_only_cookies', 1);
+    ini_set('session.use_trans_sid',    0);
+    ini_set('url_rewriter.tags',        '');
+
+    # For development
+    $cookie_domain = 'klab.cc';
+
+    # Uncomment for production
+    #$cookie_domain = 'kolab.org';
+
+    # Include the GIT managed PHP file that contains the $conf variable setting
+    require_once("conf.php");
+
+?>





More information about the commits mailing list