Title: set_include_path overrides existing include_path
Last modified: February 21, 2018

---

# set_include_path overrides existing include_path

 *  Resolved [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/set_include_path-overrides-existing-include_path/)
 * Using Yeloni Exit Popup version 6.3.0.
 * yetience-plugin.php and wordpress/yetience-class.php both call set_include_path()
   that overrides the existing include_path. This is breaking my site. Another plugin
   calls set_include_path() correctly and relies on the setting. When Yeloni Exit
   Popup resets include_path it breaks that plugin.
 * I changed it to use an example from the PHP docs where the new include path is
   appended to the existing include_path ([http://php.net/manual/en/function.set-include-path.php](http://php.net/manual/en/function.set-include-path.php)–
   see example #2).
 * Here is a diff of the two changes:
    [https://pastebin.com/1wJLxpmk](https://pastebin.com/1wJLxpmk)

Viewing 1 replies (of 1 total)

 *  Plugin Author [kranthitech](https://wordpress.org/support/users/kranthitech/)
 * (@kranthitech)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/set_include_path-overrides-existing-include_path/#post-9998907)
 * Thank you very much. We really appreciate you sharing this code with us.
 * Regards,
    Kranthi

Viewing 1 replies (of 1 total)

The topic ‘set_include_path overrides existing include_path’ is closed to new replies.

 * ![](https://ps.w.org/yeloni-free-exit-popup/assets/icon-256x256.jpg?rev=1537798)
 * [Yeloni Exit Popup | (Free) GDPR Compliance](https://wordpress.org/plugins/yeloni-free-exit-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yeloni-free-exit-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yeloni-free-exit-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/yeloni-free-exit-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yeloni-free-exit-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yeloni-free-exit-popup/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kranthitech](https://wordpress.org/support/users/kranthitech/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/set_include_path-overrides-existing-include_path/#post-9998907)
 * Status: resolved