On Apr 16, 6:44 am, Lucca Mordente <[email protected]> wrote:
> The file is in the correct location, beside the app_model.php, which
> has no problem.
>
> Besides, there are some logic inside the AppController like components
> initialization and some shared logic that work.
>
> And if I download the file from FTP or open it through SSH, I can see
> the changes I made.
> But, again, the changes are not reflected on the app.
Is there any code at all in AppController that you know is running?
Maybe the nme is incorrect. It should be:
class AppController extends Controller
... and file name app_controller.php
Or, maybe it is being evaluated, but there's something else going on.
Try this:
function beforeFilter()
{
die('yep, this is the one');
}
And make sure you call parent::beforeFilter() if you override that
method in other controllers.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en