From 1c8915cd6de6e01ad9825e90ffc0e28c9d12c017 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Fri, 2 Oct 2009 11:14:19 +1000 Subject: [PATCH] Ditching WYMeditor for CKEditor --- config/core.php | 24 ++++++++++++------------ views/layouts/default.ctp | 15 +++++++++++++++ 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/config/core.php b/config/core.php index cef0be65..74a45f05 100755 --- a/config/core.php +++ b/config/core.php @@ -40,7 +40,7 @@ * In production mode, flash messages redirect after a time interval. * In development mode, you need to click the flash message to continue. */ - Configure::write('debug', 3); + Configure::write('debug', 0); /** * Application wide charset encoding */ @@ -189,16 +189,16 @@ * 'serialize' => true, [optional] * )); * - * - * APC (http://pecl.php.net/package/APC) - * - * Cache::config('default', array( - * 'engine' => 'Apc', //[required] - * 'duration'=> 3600, //[optional] - * 'probability'=> 100, //[optional] - * 'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string - * )); - * + */ + //APC (http://pecl.php.net/package/APC) + + Cache::config('default', array( + 'engine' => 'Apc', //[required] + 'duration'=> 3600, //[optional] + 'probability'=> 100, //[optional] + 'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string + )); + /* * Xcache (http://xcache.lighttpd.net/) * * Cache::config('default', array( @@ -225,5 +225,5 @@ * )); * */ - Cache::config('default', array('engine' => 'File')); + //Cache::config('default', array('engine' => 'File')); ?> diff --git a/views/layouts/default.ctp b/views/layouts/default.ctp index adf513cc..f5bb73ec 100755 --- a/views/layouts/default.ctp +++ b/views/layouts/default.ctp @@ -163,6 +163,21 @@ if (window.attachEvent) window.attachEvent("onload", sfHover); ?> + +"; + +?> + +?>