Re: Refer a class
| From: | Michael Ochs | Date: | Mon, 26 Jul 2004 21:44:17 +0000 |
| Subject: | Re: Refer a class | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191918@lists.php.net to get a copy of this message | ||
> It's being copied somewhere. Maybe try this in the loadModule function:
> $this->module[$name] =& new $name($this);
>
> You don't need the & for $this as you've defined the function to send
> it by reference.
It doesn't work, either. But I think maybe the problem is somewhere else, it
seems that this bug just appears when a user sees the first page after the
login, so I think this part works correct. Going to look on other lines! :)
Thanks for help, all of you! :)