[geeklog-cvs] geeklog: Use get/set_include_path
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Feb 22 08:03:23 EST 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/9649bc9f60b6
changeset: 6794:9649bc9f60b6
user: Dirk Haun <dirk at haun-online.de>
date: Sun Feb 22 09:34:19 2009 +0100
description:
Use get/set_include_path
diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
public_html/admin/install/migrate.php | 6 +++---
diffs (16 lines):
diff -r 10dfb994ef83 -r 9649bc9f60b6 public_html/admin/install/migrate.php
--- a/public_html/admin/install/migrate.php Sat Feb 21 22:58:23 2009 +0100
+++ b/public_html/admin/install/migrate.php Sun Feb 22 09:34:19 2009 +0100
@@ -129,9 +129,9 @@
return $backup_file;
}
- $include_path = @ini_get('include_path');
- if (@ini_set('include_path', $_CONF['path'] . 'system/pear/'
- . PATH_SEPARATOR . $include_path) === false) {
+ $include_path = get_include_path();
+ if (set_include_path($_CONF['path'] . 'system/pear/' . PATH_SEPARATOR
+ . $include_path) === false) {
// couldn't set PEAR path - can't handle compressed backups
$display .= INST_getAlertMsg($LANG_MIGRATE[39]);
return false;
More information about the geeklog-cvs
mailing list