CakePHP 2 fork that supports PHP 8
Find a file
phpnut 301731fb1a Corrected the use of View class instance.
It looks like the way you where coding it was to be used as a Singleton.
In Controller::render() I am setting all View() attributed by pass reference.
I do not think it will effect other parts of the system.

You can see why I did this by uncommenting the print_r function in View::render().
Reload url in browser.
Then in Controller::render() remove the & from:
$view->autoRender =& $this->autoRender;
This is the only one that seems to cause array to print.

This may also caused in the Router::connect().
Look at this if you get time.
I noticed that each setting in the conf/routes.php file calls outer::connect();
Tee profiler show this happening 6 times on current install from trunk
Router::parse() is called 2 times.


We really need to get some good unit test in place.

Also speeded things up a little.

Profiler test:

Before changes on default install from trunk

Between:
Total Request Time: 13013.4 Milliseconds
Total Request Time: 13065.84 Milliseconds
28 files

After changes
Between:
Total Request Time: 10230.99 Milliseconds
Total Request Time: 10511.59 Milliseconds
27 files



git-svn-id: https://svn.cakephp.org/repo/trunk/cake@304 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-07-03 07:07:47 +00:00
app setting proper mime-type on files in the trunk 2005-06-30 02:32:36 +00:00
config setting proper mime-type on files in the trunk 2005-06-30 02:09:47 +00:00
docs modifying file headers 2005-05-17 21:39:28 +00:00
libs Corrected the use of View class instance. 2005-07-03 07:07:47 +00:00
logs - default layout uses the new cssTag and charsetTag 2005-05-23 23:08:43 +00:00
modules Added /app/helpers and /modules. 2005-05-23 19:15:08 +00:00
public merging css changes from Kamil's sandbox that I forgot 2005-07-02 23:20:03 +00:00
scripts - added the csspp library that automatically reduces the size of CSS files; it is activated by prefixing an CSS file URL with /ccss/ instead of /css/ and there's a switch in the /config/core.php to activate it in Controller::cssTag() 2005-06-19 03:35:19 +00:00
tests Tests are passing now, but DboFactory needs to get out at some point. 2005-06-23 14:13:50 +00:00
vendors - added the csspp library that automatically reduces the size of CSS files; it is activated by prefixing an CSS file URL with /ccss/ instead of /css/ and there's a switch in the /config/core.php to activate it in Controller::cssTag() 2005-06-19 03:35:19 +00:00
.htaccess git-svn-id: https://svn.cakephp.org/repo/trunk/cake@148 3807eeeb-6ff5-0310-8944-8be069107fe0 2005-05-21 22:40:51 +00:00
index.php testing new server and maillist 4th 2005-07-02 04:44:46 +00:00

///////////////////////////////////////////////////////////////////////////////////////////////////////////
// +---------------------------------------------------------------------------------------------------+ //
// + $Id$
// + Last Modified: $Date$
// + Modified By: $LastChangedBy$
// +---------------------------------------------------------------------------------------------------+ //
///////////////////////////////////////////////////////////////////////////////////////////////////////////

This README will be updated

for now visit:

https://developers.nextco.com/cake/

OR:

http://sputnik.pl/cake/