Dhush Posted December 21, 2016 Share Posted December 21, 2016 Hi, Is it possible to hide/remove Directory of installation (valid directory) from admin license information page. I am managing couple of WHMCS sites for my clients, for some reason i don't want to show my clients the complete directory of installation. Can some one comment on it? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Dhush Posted December 23, 2016 Author Share Posted December 23, 2016 Hi, Any update on this? 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted December 24, 2016 Share Posted December 24, 2016 The forums are a place for community support. If you need assistance in a quicker fashion, then you'll want to open up a support ticket. In fact, in this case, you're still better off opening up a ticket Bumping your thread isn't going to get you helped out any faster. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted December 25, 2016 Share Posted December 25, 2016 Is it possible to hide/remove Directory of installation (valid directory) from admin license information page. maybe using JavaScript code to hide that line of information, otherwise there is multiple options to disable access to the whole page using Admin Permissions, ActionHook or .htaccess 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 26, 2016 Share Posted December 26, 2016 Hello Dhush, It is not possible to hide this information 0 Quote Link to comment Share on other sites More sharing options...
Dhush Posted December 27, 2016 Author Share Posted December 27, 2016 can i restrict access to whole License information page? If so how can i do this? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted December 27, 2016 Share Posted December 27, 2016 add this code in new PHP file inside /includes/hooks/ directory <?php add_hook("AdminAreaPage", 1, function($vars){ if ($vars['filename']=="systemlicense"){ header("Location:accessdenied.php"); exit; } }); this will redirect all access to this page to access denied page, you can change the target URL as you need 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.