Closed aljawaid closed 1 year ago
@creecros @alfredbuehler Is it worth looking into this?
I dont know.
filemtime();
on the directory will work tho
I dont know.
filemtime();
on the directory will work tho
any rough example of how the installed plugin folder would be called for each plugin? or is it just filemtime($plugins);
no.
https://www.php.net/manual/en/function.filemtime.php
you have to do it on each plugin directory.
Cool
@creecros So I managed to get it done with the installed plugins
page.
Just trying to figure out the same for the directory
page for the plugins which are installed
Done for installed plugins, cant figure it out for available plugins (matching to installed versions) so will close this as it was more important to show in the installed page which is done.
There seems to be no date or information on when any plugin was installed.
Solution: Scan the
/plugins
folder and the 'last modified' date of the individual plugin folder would be the date it was created (plugin was installed).I found the
scan()
but tried using it but got absolutely nowhere. Not much proper information on finding php date modified for directory, everybody talking about files.Your thoughts? Or if it is easy, can you please create the function etc and tell me how to call it in the template?
for installed plugins, if the date could be worked out, i'd like to fit it in each plugin installed table, probably under the 'up to date' status