Version 2 features?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

go for it ...

Post by jazcyk »

yes, commit this!

No need to backup more than 100 MB of session files - some of them almost a year old!
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi jazcyk,
you'll find the final code/feature starting from the 1.6.2 release and in the nightly built snapshot starting from tomorrow.

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

OK

Post by jazcyk »

.. but I can wait for 1.6.2 final release!
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi jazcyk,
you could take the files from the nightly built snapshot and use the function below:
  1. admin/stat.main.php;
  2. lang/language_en.php;
  3. lang/language_it.php;
  4. inc/functions.php, FileToDate() function:

    Code: Select all

    function FileToDate($file, $endOfDay = false)
    {
        if (strlen($file) >= 16) {
            $tag = substr($file, 8, 2);
            $mon = substr($file, 10, 2);
            $yea = substr($file, 12, 4);
            if (!$endOfDay) {
                $tim = mktime(0, 0, 0, $mon, $tag, $yea);
            }
            else {
                $tim = mktime(23, 59, 59, $mon, $tag, $yea);
            }
            return $tim;
        } else {
            return -1;
        }
    }
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

thanks, but

Post by jazcyk »

.. I have no time for this kind of testing for the next 1-2 weeks.

I believe it is OK! When PMF 1.6.2 is released I'll do a quick test on my local and if still OK I will update our server.
jazcyk
Posts: 385
Joined: Wed Sep 07, 2005 1:32 pm

OKIE

Post by jazcyk »

Just updated - works fine!

Thanks!
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

You welcome!

Post by matteo »

Hi jazcyk,
glad to read it works fine :)
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply