HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Jsconnect settings page 'Bonk exception'
Hello All,
in my application settings page of the jsconnect plugin did not work.
I have found where was the problem. Application can not found the path to plugin settings view.
I have change some render paths to settings view files in class.jsconnect.plugin.php
First change:
protected function Settings_AddEdit($Sender, $Args) { // some code //was --> $Sender->Render('Settings_AddEdit', '', 'plugins/jsconnect'); //change--> $Sender->Render(PATH_PLUGINS.'/Jsconnect/views/settings_addedit.php'); }
Second change:
protected function Settings_Index($Sender, $Args) { $Providers = self::GetProvider(); $Sender->SetData('Providers', $Providers); //was --> $Sender->Render('Settings', '', 'plugins/jsconnect'); //change--> $Sender->Render(PATH_PLUGINS.'/Jsconnect/views/settings.php'); }
2