forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: cyberdyne2 on September 24, 2012, 11:36:38 am
-
Is it possible to set Access and Security logs to display in descending order by date, ie: most recent first ?
Thank you.
-
Please post a link.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
v.1.5.12
If that is correct you badly need to upgrade.
http://forum.coppermine-gallery.net/index.php/topic,74682.0.html
In viewlog.php
find:
$log_array = explode('---' , log_read($logname));
replace with:
$log_array = explode('---' , log_read($logname));
$log_array = array_reverse($log_array);
-
Please post a link.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
If that is correct you badly need to upgrade.
http://forum.coppermine-gallery.net/index.php/topic,74682.0.html
I didn't know about the upgrade until I logged in yesterday to post my question and so immediately upgraded after seeing the info.
http://londonallstars.co.uk/gallery/
In viewlog.php
find:
$log_array = explode('---' , log_read($logname));
replace with:
$log_array = explode('---' , log_read($logname));
$log_array = array_reverse($log_array);
Worked perfectly, many thanks Jeff.
-
Glad it worked for you. Thank you for resolving your thread.