OpenTBSBundle icon indicating copy to clipboard operation
OpenTBSBundle copied to clipboard

Autoload plugin

Open byhaskell opened this issue 4 years ago • 0 comments

Hello. Can't add plugin support. Sample code (one of the options):

$tbs = new OpenTBS();
$ok = class_exists('clsTbsAggregate', true);
$tbs->PlugIn(TBS_INSTALL, 'clsTbsAggregate');

After running the script, a notification will appear <br /><b>TinyButStrong Error</b> with plug-in 'clsTbsAggregate': no class named 'clsTbsAggregate' is found, and no function named 'tbspi_clsTbsAggregate_OnInstall' is found.<br />

At the same time, there is a class.

https://stackoverflow.com/questions/63703461/use-composers-autoload-to-load-opentbs-plugin-for-tinybutstrong This option did not work either. By the way, the version of "mbence / opentbs-bundle" is 1.9.7

byhaskell avatar Jul 26 '21 07:07 byhaskell