From 9e8a1756b7032fba21fec82efda57cf896a2735a Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 08 Dec 2008 14:42:31 -0500 Subject: [PATCH] #1485616: read content-id/content-location only for multipart/related type --- bin/modcss.php | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/bin/modcss.php b/bin/modcss.php index e482389..08da367 100644 --- a/bin/modcss.php +++ b/bin/modcss.php @@ -2,10 +2,10 @@ /* +-----------------------------------------------------------------------+ - | program/bin/modcss.php | + | bin/modcss.php | | | | This file is part of the RoundCube Webmail client | - | Copyright (C) 2007, RoundCube Dev. - Switzerland | + | Copyright (C) 2007-2008, RoundCube Dev. - Switzerland | | Licensed under the GNU GPL | | | | PURPOSE: | @@ -15,14 +15,12 @@ | Author: Thomas Bruederli <roundcube@gmail.com> | +-----------------------------------------------------------------------+ - $Id: $ + $Id$ */ -$INSTALL_PATH = realpath("./../") . "/"; -ini_set('include_path', $INSTALL_PATH.PATH_SEPARATOR.$INSTALL_PATH.'program'.PATH_SEPARATOR.ini_get('include_path')); - -require 'include/main.inc'; +define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/'); +require INSTALL_PATH.'program/include/iniset.php'; $source = ""; if ($url = preg_replace('/[^a-z0-9.-_\?\$&=%]/i', '', $_GET['u'])) -- Gitblit v1.9.1