The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I'm currently programming a scheduled tasks. On the script, I want to access attachment files. So I need to use the fetch_attachment_path() function, located in the /includes/functions_file.php. But on the cron script, the code require_once('./functions_file.php'); seems to not work. How can I access the fetch_attachment_path() function on a cron script? --------------- Added [DATE]1251761459[/DATE] at [TIME]1251761459[/TIME] --------------- Resolved. I replaced require_once('./functions_file.php'); by require_once(DIR . '/includes/functions_file.php'); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|