Kilandor |
|
---|---|
require or includes you have to specify the path to the file. The above would mean a local file form where the script was executed (root), But we don't want that.
So you need to change the path to require($cfg['plugins_dir'].'/your_plugin_name/inc/init.inc.php'); just replace the your_plugin_name with the plugin "code" name The problem with tags not found is it means, its opening the file looking for the data to load the file as a plugin, such as a hook or standalone or setup. Specificaly its looking for the "[BEGIN_SED_EXTPLUGIN]" block in the file. If you notice my path above I gave you I included /inc/ if you place the extra files, the non plugin files in it then you won't see those errors. So any files without that block should go in there. |