From b7addfc77cc3116d2015c04868f8ac741f177390 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 30 Jun 2013 04:30:06 -0400 Subject: [PATCH] Use absolute paths in is_dir() checks to prevent open_basedir related warnings --- program/steps/settings/func.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 3ee098c..dbc9b3c 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -1170,7 +1170,7 @@ function rcmail_get_skins() { - $path = 'skins'; + $path = RCUBE_INSTALL_PATH . 'skins'; $skins = array(); $dir = opendir($path); -- Gitblit v1.9.1