Sorry I cant think of a short subject line to explain this.

I am adding a web form that my users can use to submit requests to change their passwords. The form is a basic php mail script that delivers only to me.

I have figured out how to add a button for it in the taskbar.html in the skins folder. However, I would also like to make it so that the new page is only accessible from inside Rouncube. In other projects I do, I have a "universal" authentication script. For every page I want to limit access to, I just simply do include('verify.php'); on that page and it verifies the session id of the user before displaying the page.

I notice that in roundcube, all the session code is accessed by various functions and not just a simple include.

Is there a way to extend the authenticated session to a file that is outside the coded framework of Roundcube? I just want to have my mail.php file sitting in the root directory of the Roundcube install and be able to access it when the user clicks on the icon in their webmail.

Thanks,
-Geuis