diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-16 11:52:09 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-16 11:52:09 +0000 |
| commit | 93bb5e52c6b4e0871bbabc7c6e041526cd4fd74d (patch) | |
| tree | 9b46f00d5d83e0b63d18cb72498f2bc0bcf21d9e /roundcubemail | |
| parent | 28704eb3c92d9d72f83d2356cdebada4e3d460c8 (diff) | |
- use dirname()
git-svn-id: https://svn.roundcube.net/trunk@1983 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/bin/html2text.php | 2 | ||||
| -rw-r--r-- | roundcubemail/bin/modcss.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/bin/html2text.php b/roundcubemail/bin/html2text.php index 6500d2883..e07fb3538 100644 --- a/roundcubemail/bin/html2text.php +++ b/roundcubemail/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/roundcubemail/bin/modcss.php b/roundcubemail/bin/modcss.php index fc6305c81..08da36707 100644 --- a/roundcubemail/bin/modcss.php +++ b/roundcubemail/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 = ""; |
