danog/MadelineProto

This block breaks integration with Symfony

tebaly opened this issue · 2 comments

die();

This makes it impossible to debug the script and output data to the page

HOTFIX

            if (!$app) {
                return;
                die();
            }

You should manually specify an API ID in the settings.

The Symphony framework has its own graphical debugging/debugging/info system in the browser. This code breaks the system. Use die(); in libraries - antipattern. You use die(); at least two more times in your code