My new AppController is empty, and I added an empty __construct () to
add some info for all my controllers
<?php
class AppController extends Controller {
function __construct () {
}
}
?>
However the addition of the __construct() function causes this error:
Fatal error: Call to a member function init() on a non-object in /
apppath/cake/libs/controller/controller.php on line 442
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---