Everything is clear now, thanks a lot!
--------------- Added [DATE]1328102730[/DATE] at [TIME]1328102730[/TIME] ---------------
Hi!) I have new question on this topic. When I trying to create a new xml file in "/includes/xml" dir, I faced the problem of determining the path to this folder.
I first try scan directory '/includes/xml' for the presence of file cpnav_myplugin.xml
PHP Code:
$cpnav_dir = '/includes/xml';
$cpnav_files = scandir($cpnav_dir);
And scandir() return error. I think that the problem is on the path to the directory. Does vbulletine constant or a variable that contains the path to the root of your site?
--------------- Added [DATE]1328104959[/DATE] at [TIME]1328104959[/TIME] ---------------
solved the problem by using $_SERVER ['DOCUMENT_ROOT']