bernardo wrote:

> class AppModel extends Model {
>       function __construct() {
>               parent::__construct();
>               if(!defined('GLOBAL_UTF8')) {
>                       $this->query('SET NAMES "utf8"');
>                       define('GLOBAL_UTF8', TRUE);
>               }
>       }
> }
I'm sorry, I think that the lines with __construct need to be changed
to:

        function __construct($id = false, $table = null, $ds = null) {
                parent::__construct($id, $table, $ds);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to