[svn r17098] FS#3237: Renaming a function: create_include_path_setting() ---> api_create_include_path_setting().

skala
Ivan Tcholakov 17 years ago
parent de3cc3c226
commit 520543ba7d
  1. 2
      main/inc/global.inc.php
  2. 2
      main/inc/lib/main_api.lib.php

@ -125,7 +125,7 @@ $lib_path = api_get_path(LIBRARY_PATH);
// Add the path to the pear packages to the include path
//ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$lib_path.'pear');
ini_set('include_path', create_include_path_setting());
ini_set('include_path', api_create_include_path_setting());
// Include the libraries that are necessary everywhere
require_once($lib_path.'database.lib.php');

@ -2884,7 +2884,7 @@ function api_request_uri()
* To be used in global.inc.php only.
* @author Ivan Tcholakov, 06-NOV-2008.
*/
function create_include_path_setting()
function api_create_include_path_setting()
{
$include_path = ini_get('include_path');
if (!empty($include_path))

Loading…
Cancel
Save