From: Artem Daniliants Date: Tue, 30 Mar 2010 18:11:18 +0000 (+0300) Subject: Changed default cache key. Should be changed on deployment. X-Git-Tag: v0.2-RC1~29 X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=commitdiff_plain;h=2fbbbc647b3d79901d22717a583094162b045fa9 Changed default cache key. Should be changed on deployment. --- diff --git a/Server/.htaccess b/Server/.htaccess index 17599f6..bffb566 100644 --- a/Server/.htaccess +++ b/Server/.htaccess @@ -2,7 +2,7 @@ RewriteEngine On # Installation directory -RewriteBase /api +RewriteBase /projects/misc/speedfreak.git/Server # Protect application and system files from being viewed RewriteRule ^(application|modules|system) - [F,L] diff --git a/Server/application/config/config.php b/Server/application/config/config.php index 688d093..112bc27 100644 --- a/Server/application/config/config.php +++ b/Server/application/config/config.php @@ -4,7 +4,7 @@ * then a full URL will be used, eg: http://localhost/kohana/. If it only includes * the path, and a site_protocol is specified, the domain will be auto-detected. */ -$config['site_domain'] = '/api'; +$config['site_domain'] = '/projects/misc/speedfreak.git/Server'; /** * Force a default protocol to be used by the site. If no site_protocol is @@ -52,7 +52,7 @@ $config['internal_cache_encrypt'] = FALSE; * * The cache is deleted when/if the key changes. */ -$config['internal_cache_key'] = 'foobar-changeme'; +$config['internal_cache_key'] = 'sdfhdshkjhu8yuanm__saa-dc_ay/&%&&7556sdbskjhkjH___1-1!!!'; /** * Enable or disable gzip output compression. This can dramatically decrease diff --git a/Server/application/config/database.php b/Server/application/config/database.php index 74f4e0e..60de5e4 100644 --- a/Server/application/config/database.php +++ b/Server/application/config/database.php @@ -31,7 +31,7 @@ $config['default'] = array ( 'type' => 'mysql', 'user' => 'root', - 'pass' => 'root', + 'pass' => '', 'host' => 'localhost', 'port' => FALSE, 'socket' => FALSE,