Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
295 stars 158 forks source link

Allow user to not proxify urls on setContent($output) #127

Closed webaddicto closed 4 years ago

webaddicto commented 5 years ago

Here is explaination:

// DO NOT do any proxification if $event['donotproxify'] = true; // Useful if on a plugin I do not want to proxify the urls within $event['response']->setContent($output); // Because on $output I have inserted custom urls if($event['donotproxify']) return;

You can use it like this on a plugin:

$event['donotproxify'] = true; $event['response']->setContent($output);