d4rkino Posted September 14, 2015 Share Posted September 14, 2015 I cannot seem to figure out how to get this line to work with whmcs. I want to include this in the header & footer.tpl and tried to do this with {php}{/php} but seems not te be working, and I cannot find the correct solution. For SafeGuard Pro, I need to add this line: include_once $_SERVER['DOCUMENT_ROOT'] . '/SafeGuardPro/protect.php'; 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 14, 2015 Share Posted September 14, 2015 {php} need to be enabled from Admin Area -> General Settings -> *Security* tab, " Allow Smarty PHP Tags " 0 Quote Link to comment Share on other sites More sharing options...
d4rkino Posted September 14, 2015 Author Share Posted September 14, 2015 {php} need to be enabled from Admin Area -> General Settings -> *Security* tab, "Allow Smarty PHP Tags " That worked.. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.