From 69f0aaef80d18ed1a267634a5f46dc8b84ee6fad Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 18 Jun 2003 19:40:42 +0000 Subject: [PATCH 1/1] Se corrige un bug. --- lib/general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/general.php b/lib/general.php index 057f02b..305632c 100644 --- a/lib/general.php +++ b/lib/general.php @@ -26,8 +26,8 @@ * @param string $ip Include path a agregar antes del actual. */ function prepend_include_path($ip) { - $old = ini_get('include_path'); - ini_set('include_path', "$ip:$old"); + $old = substr(ini_get('include_path'), 2); + ini_set('include_path', ".:$ip:$old"); } ?> -- 2.43.0