diff options
author | alecpl <alec@alec.pl> | 2008-10-16 11:52:09 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-16 11:52:09 +0000 |
commit | b685e9e47cebc0577c338e420a04d0ec89e25156 (patch) | |
tree | 83e4b6a75aa207f5ea01e7e4a516a25618e3df06 /bin/html2text.php | |
parent | 701b9a7c6b22a912ce7312b684b130e2066b0ddd (diff) |
- use dirname()
Diffstat (limited to 'bin/html2text.php')
-rw-r--r-- | bin/html2text.php | 2 |
1 files changed, 1 insertions, 1 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')); |