From ccb0e42d1084ba87301faed2e95643849e2745cf Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 5 Jan 2010 14:26:30 +0000
Subject: [PATCH] _include: Remove the ini_set call.

This hasn't been required in a long time, and any external code
depending on it should have been fixed.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2075 44740490-163a-0410-bde0-09ae8108e29a
---
 www/_include.php | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/www/_include.php b/www/_include.php
index 53afd4e28..cb202504c 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -56,17 +56,6 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0
 }
 set_error_handler('SimpleSAML_error_handler');
 
-
-$path_extra = dirname(dirname(__FILE__)) . '/lib';
-
-
-/** + start modify include path + */
-$path = ini_get('include_path');
-$path = $path_extra . PATH_SEPARATOR . $path;
-ini_set('include_path', $path);
-/** + end modify include path + */
-
-
 /**
  * Class which should print a warning every time a reference to $SIMPLESAML_INCPREFIX is made.
  */
-- 
GitLab