Administrators ProAvia Posted January 15, 2017 Administrators Report Share Posted January 15, 2017 (edited) My conversion from 2.1.x to 5.5.2 is mostly complete - I'm just trying to clean up a few items. What is the purpose of following statement? - <?php if(!defined('IN_PHPVMS') && IN_PHPVMS !== true) { die(); } ?> I see it in all the 5.5.2 default template folder php files and those of some updated Modules template files. I think it has something to do with security and/or theft of file content. Am I close? If I'm using any modules or custom template file from my 2.1.x install, should I add the statement to the top of all of those template files? Including those in my skins folder? Including those in 'admin/templates'? Should it be in any other files elsewhere in the install? Are there any downsides to including it in the older modules? (I guess worst case is the 'blank page' issue I read about??) Anything else I should know about this? Thanks! Really appreciated all the help I've gotten here and for you all putting up with my (mostly) newbie questions! I've really learned quite a bit through the conversion '"experience". Edited January 15, 2017 by ProAvia Cause I can't spell Quote Link to comment Share on other sites More sharing options...
web541 Posted January 15, 2017 Report Share Posted January 15, 2017 I believe that line is another security implementation If you would like, but it's not necessary to run Yes Yes Basically anything you've changed Basically yeah, the blank white page Not really Bottom line is that it is not required to operate, but it'd be good to have just in case. Still not sure if it's fully functional as of yet. 1 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 15, 2017 Author Administrators Report Share Posted January 15, 2017 Thank you! Yup, had read through a few posts about it - including that one. Guess I'll add it a little at a time and see if it breaks anything. 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.