]> git.llucax.com Git - mecon/meconlib.git/blob - lib/MECON/general.php
Todavia a medio arreglar, sorry
[mecon/meconlib.git] / lib / MECON / general.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +----------------------------------------------------------------------+
4 // | PHP Version 4                                                        |
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 1997-2003 The PHP Group                                |
7 // +----------------------------------------------------------------------+
8 // | This source file is subject to version 2.02 of the PHP license,      |
9 // | that is bundled with this package in the file LICENSE, and is        |
10 // | available at through the world-wide-web at                           |
11 // | http://www.php.net/license/2_02.txt.                                 |
12 // | If you did not receive a copy of the PHP license and are unable to   |
13 // | obtain it through the world-wide-web, please send a note to          |
14 // | license@php.net so we can mail you a copy immediately.               |
15 // +----------------------------------------------------------------------+
16 // | Created: miĆ© jun 18 15:08:05 ART 2003                                |
17 // | Author:  Leandro Lucarella <llucar@mecon.gov.ar>                     |
18 // +----------------------------------------------------------------------+
19 //
20 // $Id$
21 //
22
23 /**
24  * Agrega un path al include path.
25  *
26  * @param string $ip Include path a agregar antes del actual.
27  */
28 function prepend_include_path($ip) {
29     $old = substr(ini_get('include_path'), 2);
30     ini_set('include_path', ".:$ip:$old");
31 }
32
33 ?>