From 23563c7188e089929b60f9e10721c6fc43a220ff Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 22 Jun 2023 23:06:12 +0200 Subject: Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated) --- includes/jobs/UpdateAssets.php | 4 +++- includes/jobs/UpdateLogo.php | 28 +--------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) (limited to 'includes/jobs') diff --git a/includes/jobs/UpdateAssets.php b/includes/jobs/UpdateAssets.php index 2b5bba2..fdc0a30 100644 --- a/includes/jobs/UpdateAssets.php +++ b/includes/jobs/UpdateAssets.php @@ -105,4 +105,6 @@ downloadAssets("ynmuc"); if (isset($app["other"]) && isset($app["other"]["id"]) && isset($app["other"]["token"])) { echo("Downloading for other\n"); downloadAssets($app["other"]["id"], "other"); -} \ No newline at end of file +} + +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/maintenance/deleteUnusedAssets.php"; \ No newline at end of file diff --git a/includes/jobs/UpdateLogo.php b/includes/jobs/UpdateLogo.php index 9d669fc..e6c605f 100644 --- a/includes/jobs/UpdateLogo.php +++ b/includes/jobs/UpdateLogo.php @@ -102,19 +102,6 @@ unlink("/tmp/image.png"); imagepng($img3, $_SERVER['DOCUMENT_ROOT'] . "/assets/logo/newlogo.png"); imagepng($img3, "/tmp/ponieslogo1.png"); -for ($x = 1; $x <= 120; $x++) { - imagefilter($img2, IMG_FILTER_GAUSSIAN_BLUR); -} - -imagefilter($img2, IMG_FILTER_BRIGHTNESS, -100); - -imagepng($img2, "/tmp/image.png"); -$img3 = imageCreateCorners("/tmp/image.png", $columns * 10); -unlink("/tmp/image.png"); - -imagepng($img3, $_SERVER['DOCUMENT_ROOT'] . "/assets/logo/newlogo-template.png"); -imagepng($img3, "/tmp/ponieslogo2.png"); - $isLoggedIn = true; $isLowerLoggedIn = false; @@ -207,17 +194,4 @@ $img3 = imageCreateCorners("/tmp/image.png", $columns * 10); unlink("/tmp/image.png"); imagepng($img3, $_SERVER['DOCUMENT_ROOT'] . "/assets/logo/newlogo3.png"); -imagepng($img3, "/tmp/ponieslogo1b.png"); - -for ($x = 1; $x <= 120; $x++) { - imagefilter($img2, IMG_FILTER_GAUSSIAN_BLUR); -} - -imagefilter($img2, IMG_FILTER_BRIGHTNESS, -100); - -imagepng($img2, "/tmp/image.png"); -$img3 = imageCreateCorners("/tmp/image.png", $columns * 10); -unlink("/tmp/image.png"); - -imagepng($img3, $_SERVER['DOCUMENT_ROOT'] . "/assets/logo/newlogo3-template.png"); -imagepng($img3, "/tmp/ponieslogo2b.png"); \ No newline at end of file +imagepng($img3, "/tmp/ponieslogo1b.png"); \ No newline at end of file -- cgit