![]() |
Gallery problem
Hi!
I've hit a problem: php Code:
php Code:
Gives me: Code:
Everything is not set yet.And you can see that I've set both userid: PHP Code:
PHP Code:
PHP Code:
Haven't worked much with parents and stuff.. The path variable in the gallery class(which the upload class extends) is set to protected. Any ideas why this error is thrown? |
Actually, I already figured it out.
It's because $upload is a completely new object of the gallery.. hmm.. so everything I set with the $gallery is not kept to the $upload .. So anyone have any idea how to solve this nicely? Cause I would really like to have a seperate class for the uploads and have the gallery as a core. Should I make the "core" static? |
Hehe, nevermind. I solved this xD :-)
|
| All times are GMT. The time now is 06:52 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0