cron.verifyurls.php ...

Please report bugs here!

Moderator: Thorsten

Post Reply
Lidio
Posts: 25
Joined: Mon Dec 10, 2007 9:26 pm

cron.verifyurls.php ...

Post by Lidio »

Greetings,

a minor point -- looking at cron.verifyurls.php I believe that

Code: Select all

//
// Disconnect from database
//
$db->dbclose();
should be inside the if structure

Code: Select all

if ($isCronRequest && file_exists(PMF_ROOT_DIR.'/inc/data.php')) {
 ...snip...

    @ob_flush();
    flush();
    // close DB here
}
otherwise it will generate an error -- "Fatal error: Call to a member function on a non-object ..." when called from non localhost.

Lidio.
Post Reply