Code
date_default_timezone_set('Iceland');
X3 Photo Gallery Support Forums
date_default_timezone_set('Iceland');
Thanks for the code 2 things could you tell me where to inset it in the guestbook PHP and also i would like the date to how as 12-Jan-2012 22:38 at the moment i have $time = date ("d-m-y H:i",time()); this shows 12-01-12 22:38grimurnet wrote:You can also set the default timezone in php like thisChange Iceland to the one you want. Hope this helpsCodedate_default_timezone_set('Iceland');
You can put the code at top just after <?php or in the php.ini filetfm426 wrote:Thanks for the code 2 things could you tell me where to inset it in the guestbook PHP and also i would like the date to how as 12-Jan-2012 22:38 at the moment i have $time = date ("d-m-y H:i",time()); this shows 12-01-12 22:38grimurnet wrote:You can also set the default timezone in php like thisChange Iceland to the one you want. Hope this helpsCodedate_default_timezone_set('Iceland');
Doubtful, and I don't see what this would have to do with Powerpack anyway. I would need a link to your specific folder to diagnose why this folder will not load ...tfm426 wrote:Thanks once again Artur i will owe you a drink by the time i have finished. not sure if i should post this here or not but is there a size limit to the number of photos a folder will hold? i uploaded 230 to a folder and changed the thumbs no problem but now the album will not open either in admin or when i run the site
Great thanks, I'll try it outArtur wrote:It's added now in V2.0 RCgrimurnet wrote:...I was wondering, can you also have the option on adding uploaded pictures in the html uploader...