From b7addfc77cc3116d2015c04868f8ac741f177390 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 30 Jun 2013 10:30:06 +0200 Subject: Use absolute paths in is_dir() checks to prevent open_basedir related warnings --- program/steps/settings/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/settings/func.inc') diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 3ee098ca8..dbc9b3ce2 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -1170,7 +1170,7 @@ function rcmail_user_prefs($current = null) function rcmail_get_skins() { - $path = 'skins'; + $path = RCUBE_INSTALL_PATH . 'skins'; $skins = array(); $dir = opendir($path); -- cgit v1.2.3