From b685e9e47cebc0577c338e420a04d0ec89e25156 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 16 Oct 2008 07:52:09 -0400 Subject: [PATCH] - use dirname() --- bin/html2text.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/html2text.php b/bin/html2text.php index 6500d28..e07fb35 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')); -- Gitblit v1.9.1