![]() |
|
automatically refresh DB ? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: automatically refresh DB ? (/thread-6601.html) |
automatically refresh DB ? - breglis - 2010-02-16 Hi, "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." to my question: but this admin page requires a login. any ideas ? automatically refresh DB ? - acrylian - 2010-02-16 There is the gallery classs method named automatically refresh DB ? - sbillard - 2010-02-16 Be aware that refreshing the gallery often takes more time than servers/browsers will allow, so you would need to deal with that. I am not sure that the database refresh is really what you need, either. I presume what you want is to be sure that any new albums/images are discovered? If you know which albums you have created, just instantiate them as part of your function. If you are removing any "expired" albums, just use the delete method to get rid of them. automatically refresh DB ? - breglis - 2010-02-16 ok, how do I initiate them? So far I was just creating the .alb files with fopen,fwrite and fclose. Is there a better way to do this? automatically refresh DB ? - sbillard - 2010-02-16 use automatically refresh DB ? - breglis - 2010-02-16 ahh of course, thanks |