Ditching WYMeditor for CKEditor
This commit is contained in:
parent
7f783aaf7e
commit
1c8915cd6d
|
|
@ -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'));
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -164,6 +164,21 @@ if (window.attachEvent) window.attachEvent("onload", sfHover);
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$mem_usage = memory_get_usage(true);
|
||||
|
||||
if ($mem_usage < 1024)
|
||||
echo $mem_usage." bytes";
|
||||
elseif ($mem_usage < 1048576)
|
||||
echo round($mem_usage/1024,2)." kilobytes";
|
||||
else
|
||||
echo round($mem_usage/1048576,2)." megabytes";
|
||||
echo "<br/>";
|
||||
|
||||
?>
|
||||
|
||||
?>
|
||||
|
||||
<?php echo $cakeDebug; ?>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in a new issue