From 4c584df191cc75d010d5146388e575edec395399 Mon Sep 17 00:00:00 2001 From: rurban Date: Sun, 25 Jan 2004 10:14:13 +0000 Subject: [PATCH] ENABLE_USER_NEW support fixed stdlib loading problem git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2956 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/imagecache.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/imagecache.php b/lib/imagecache.php index cb4c9c7c8..22186b9df 100644 --- a/lib/imagecache.php +++ b/lib/imagecache.php @@ -1,4 +1,4 @@ -get('REQUEST_URI'); } - if (!uri) { + if (!$uri) { WikiPluginCached::printError( 'png', 'Could not deduce image identifier or creation' . ' parameters. (Neither REQUEST nor REDIRECT' @@ -116,7 +121,7 @@ function mainImageCache() { $request->setArg('args',rawurldecode($matches[4])); } $request->setStatus(200); // No, we do _not_ have an Error 404 :-> - } + } WikiPluginCached::fetchImageFromCache($dbi,$request,'png'); } -- 2.45.0