// 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;
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);