]> git.p6c8.net - jirafeau_project.git/blobdiff - script.php
Build Docker images for linux/arm/v7, linux/arm64/v8 and linux/amd64
[jirafeau_project.git] / script.php
index c0cee68b3d05b4ae4fe08ee541a1cc21d469fb2b..5f3bc6f359996bd866a89a5b410b9fd8921b05e2 100644 (file)
@@ -175,7 +175,7 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES)
     }
     if (strlen($d) > 0 && $d == $link['link_code']) {
         jirafeau_delete_link($link_name);
-        echo "Ok";
+        echo 'Ok';
         exit;
     }
     if ($link['time'] != JIRAFEAU_INFINITY && time() > $link['time']) {
@@ -217,8 +217,8 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES)
 } elseif (isset($_GET['get_version'])) {
     echo JIRAFEAU_VERSION;
 } elseif (isset($_GET['lang'])) {
-    $l=$_GET['lang'];
-    if ($l == "bash") {
+    $l = $_GET['lang'];
+    if ($l == 'bash') {
         ?>
 #!/bin/bash
 

patrick-canterino.de