diff options
-rw-r--r-- | bin/html2text.php | 2 | ||||
-rw-r--r-- | bin/modcss.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/html2text.php b/bin/html2text.php index 6500d2883..e07fb3538 100644 --- a/bin/html2text.php +++ b/bin/html2text.php @@ -19,7 +19,7 @@ */ -define('INSTALL_PATH', realpath('./../') . '/'); +define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/'); require INSTALL_PATH.'program/include/iniset.php'; $converter = new html2text(html_entity_decode($HTTP_RAW_POST_DATA, ENT_COMPAT, 'UTF-8')); 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 = ""; |