I had a problem uploading my own logo. Had a bit of a peek and i fixed
it with this patch:
(applies to svn trunk and .61)
=3D=3D=3D modified file 'modules/base/include/adminsettings_include.php'
--- modules/base/include/adminsettings_include.php=09
+++ modules/base/include/adminsettings_include.php=09
@@ -75,7 +75,7 @@
if(isset($files["printedlogo"]))
if($files["printedlogo"]["type"]=3D=3D"image/png"){
if (function_exists('file_get_contents')) {
- $file =3D addslashes(file_get_contents($_FILES['upload']['tmp_name']))=
;
+ $file =3D addslashes(file_get_contents($_FILES['printedlogo']['tmp_nam=
e']));
} else {
// If using PHP < 4.3.0 use the following:
$file =3D addslashes(fread(fopen($_FILES['upload']['tmp_name'], 'r'), =
filesize($_FILES['thumbnailupload']['tmp_name'])));
@@ -95,4 +95,4 @@
$statusmessage=3D"Settings Updated";
}
=20
-?>
\ No newline at end of file
+?>
--=20
Stewart Smith (st...@fl...)
http://www.flamingspork.com/
|