
07-08-2011, 02:43 PM
|
|
|
Join Date: Apr 2009
Posts: 687
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
- Go to AdminCP > Plugins & Products > Add New Plugin
- Set the fields as shown (if you don't see something listed, you can leave the default value):
Hook Location: global_bootstrap_init_start
Title: Forum Path
Plugin PHP Code:
PHP Code:
if ($_REQUEST['do'] == 'path') { var_dump(dirname(__FILE__)); exit; }
Plugin is Active: Yes
- Save the plugin.
- Visit to your forum's index and add to the url, and press enter. The result should be your forum path.
- Delete the plugin you just made.
|