Quote:
Originally Posted by Simon Lloyd
....
@DBTech, why not just build in an option in settings to add custom pages..etc to be exempt, you can always double check to see if the user is trying to exempt the copyright from standard vb pages, shouldn't be too hard and then everyone will be happy 
|
This would require an end user to add the exempt pages to their DBTech install. Without the end user doing that, the copyright would still appear on other mod's pages.
Don't get me wrong, I appreciate what DBTech is trying to do. That's clean up the footer of all the individual copyrights.
The absolutely easiest way is to check if the script is a standard vB script or a full DBTech script and exclude the copyright from all pages generated by scripts that aren't in that list. Just put all the script names in an array and check if THIS_SCRIPT is in that array or not.
--------------- Added [DATE]1370636222[/DATE] at [TIME]1370636222[/TIME] ---------------
As a totally, completely off topic comment to DBTech...
You might want to switch to curl for what you're doing. allow_url_fopen is a system level only setting and can't be changed with ini_set by a script.