diff --git a/config/images.php b/config/images.php index c6bd0cb..68178bd 100644 --- a/config/images.php +++ b/config/images.php @@ -59,6 +59,15 @@ if($_POST['action']=="addimage") echo error(i18n("Error uploading Logo Image").": ".$_FILES['image']['error']); } +if($_POST['action']=="delimage") { + system("rm -f ../data/logo.gif"); + system("rm -f ../data/logo.png"); + system("rm -f ../data/logo*.gif"); + system("rm -f ../data/logo*.png"); + echo happy(i18n("Deleted any existing logo files")); +} + + echo "
"; +if( file_exists("../data/logo.gif") || file_exists("../data/logo.png")) { + echo "