[Svn] r1983 - trunk/roundcubemail/bin

trac at roundcube.net trac at roundcube.net
Thu Oct 16 13:52:10 CEST 2008


Author: alec
Date: 2008-10-16 06:52:09 -0500 (Thu, 16 Oct 2008)
New Revision: 1983

Modified:
   trunk/roundcubemail/bin/html2text.php
   trunk/roundcubemail/bin/modcss.php
Log:
- use dirname()


Modified: trunk/roundcubemail/bin/html2text.php
===================================================================
--- trunk/roundcubemail/bin/html2text.php	2008-10-15 17:27:52 UTC (rev 1982)
+++ trunk/roundcubemail/bin/html2text.php	2008-10-16 11:52:09 UTC (rev 1983)
@@ -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'));

Modified: trunk/roundcubemail/bin/modcss.php
===================================================================
--- trunk/roundcubemail/bin/modcss.php	2008-10-15 17:27:52 UTC (rev 1982)
+++ trunk/roundcubemail/bin/modcss.php	2008-10-16 11:52:09 UTC (rev 1983)
@@ -19,7 +19,7 @@
 
 */
 
-define('INSTALL_PATH', realpath('./../') . '/');
+define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/');
 require INSTALL_PATH.'program/include/iniset.php';
 
 $source = "";

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list