Quote:
Originally Posted by XTF
Hi,
Is there way to run queries in a mod/product and don't cause vB to abort the script if MySQL returns an error?
Edit:
Yes, there is: $vbulletin->db->hide_errors();
Now I'm wondering if it's possible to use $vbulletin if you start a cron job from the shell?
|
Just import global.php, although quite why you would have a shell script running php is a but of a mystery.
Use the vb cron system instead.