Hello, so I've bought the Subscription Laraship script and I'd like to know how to create a new element in the Sidebar menu and how to implement custom PHP code there. Thanks!
P.D: I'm a PHP developer but I'm new to Laravel
2 Answers
Best Answer
Hello,
We have disabled adding php direct to the CMS for security reasons, however if you are still insist to use to add it you can comment this line at your own risk
$content = str_ireplace(array('<?php', '@php', '<?', '@endphp', '?>'), array('<?php', '<?PHP', '<?', '>?php', '?>'), $content);
at Corals/modules/CMS/Models/Content.php line #81
Please login or Register to submit your answer