3.0 Upgrade Tool not updating files

2015-02-18 Thread James H
Morning,

I've ran a few passes with the upgrade tool 
 on a cake 2 project and have found the 
running bin/cake upgrade all /var/www/app my Model files are not relocated. 
Running through the various upgrade commends individually does relocate my 
Models. That is really just a comment, the current issue I have is as 
follows.


After running the upgrade tool in full, although I can see that my 
controllers/models/views and so forth have been relocated, my index.php and 
.htaccess in webroot go unchanged. I do not see any permission related 
errors from the upgrade tool and the directories and files have permissions 
to write these files.


I can of course update index.php and .htaccess manually however this leads 
me to believe perhaps other files have not been created/updated and leads 
me to my 2 questions..


1. Do the old 2 project files get automatically removed after the upgrade 
or do we need to remove them manually?
2. Can anyone think of a reason the index.php and .htaccess files are not 
being upgraded?


Many thanks
James

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


use App\Controller\AppController;

2015-02-18 Thread James H
Hi All,

Cake 3.0.

When is/isn't use App\Controller\AppController; required in a controller? 
The blog tutorial does not use it, some of the examples on the controllers 
page use it, but not all. Can anyone explain exactly when his is needed 
please?

Thanks

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.