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 production mode, flash messages redirect after a time interval.
|
||||||
* In development mode, you need to click the flash message to continue.
|
* In development mode, you need to click the flash message to continue.
|
||||||
*/
|
*/
|
||||||
Configure::write('debug', 3);
|
Configure::write('debug', 0);
|
||||||
/**
|
/**
|
||||||
* Application wide charset encoding
|
* Application wide charset encoding
|
||||||
*/
|
*/
|
||||||
|
|
@ -189,16 +189,16 @@
|
||||||
* 'serialize' => true, [optional]
|
* 'serialize' => true, [optional]
|
||||||
* ));
|
* ));
|
||||||
*
|
*
|
||||||
*
|
*/
|
||||||
* APC (http://pecl.php.net/package/APC)
|
//APC (http://pecl.php.net/package/APC)
|
||||||
*
|
|
||||||
* Cache::config('default', array(
|
Cache::config('default', array(
|
||||||
* 'engine' => 'Apc', //[required]
|
'engine' => 'Apc', //[required]
|
||||||
* 'duration'=> 3600, //[optional]
|
'duration'=> 3600, //[optional]
|
||||||
* 'probability'=> 100, //[optional]
|
'probability'=> 100, //[optional]
|
||||||
* 'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string
|
'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string
|
||||||
* ));
|
));
|
||||||
*
|
/*
|
||||||
* Xcache (http://xcache.lighttpd.net/)
|
* Xcache (http://xcache.lighttpd.net/)
|
||||||
*
|
*
|
||||||
* Cache::config('default', array(
|
* Cache::config('default', array(
|
||||||
|
|
@ -225,5 +225,5 @@
|
||||||
* ));
|
* ));
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
Cache::config('default', array('engine' => 'File'));
|
//Cache::config('default', array('engine' => 'File'));
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -163,6 +163,21 @@ if (window.attachEvent) window.attachEvent("onload", sfHover);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</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; ?>
|
<?php echo $cakeDebug; ?>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue