From b685e9e47cebc0577c338e420a04d0ec89e25156 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 16 Oct 2008 11:52:09 +0000 Subject: - use dirname() --- bin/modcss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/modcss.php') diff --git a/bin/modcss.php b/bin/modcss.php index fc6305c81..08da36707 100644 --- a/bin/modcss.php +++ b/bin/modcss.php @@ -19,7 +19,7 @@ */ -define('INSTALL_PATH', realpath('./../') . '/'); +define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/'); require INSTALL_PATH.'program/include/iniset.php'; $source = ""; -- cgit v1.2.3