Passed
Push — dpa_buda5 ( e38016...e14f71 )
by David
09:53
created
html/user/sandbox.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
     $fname = basename($url);
166 166
     $path = "$dir/$fname";
167 167
     if (file_exists($path)) {
168
-        error_page("File $fname exists; delete it first.");
168
+        error_page("file $fname exists; delete it first.");
169 169
     }
170 170
     copy($url, $path);
171 171
     $notice = "Fetched file from <strong>$url</strong><br/>";
Please login to merge, or discard this patch.
html/user/buda.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     if (!is_valid_filename($app)) die('bad arg');
100 100
     $variant = get_str('variant');
101 101
     if (!is_valid_filename($variant)) die('bad arg');
102
-    page_head("App $app variant $variant");
102
+    page_head("app $app variant $variant");
103 103
     $dir = "$buda_root/$app/$variant";
104 104
     start_table();
105 105
     table_header('name', 'size', 'md5');
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     // Note: we don't currently allow indirect file access.
220 220
     // If we did, we'd need to create job.toml to mount project dir
221 221
 
222
-    app_list("Variant $variant added for app $app.");
222
+    app_list("variant $variant added for app $app.");
223 223
 }
224 224
 
225 225
 function variant_delete() {
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         if ($ret) {
247 247
             error_page("delete failed");
248 248
         }
249
-        $notice = "Variant $variant of app $app removed.";
249
+        $notice = "variant $variant of app $app removed.";
250 250
         app_list($notice);
251 251
     } else {
252 252
         page_head("Confirm");
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
         if ($ret) {
276 276
             error_page('delete failed');
277 277
         }
278
-        $notice = "App $app removed.";
278
+        $notice = "app $app removed.";
279 279
         app_list($notice);
280 280
     } else {
281 281
         page_head('Confirm');
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     if (!is_valid_filename($name)) die("bad arg: $name");
305 305
     $dir = "$buda_root/$name";
306 306
     if (file_exists($dir)) {
307
-        error_page("App $name already exists.");
307
+        error_page("app $name already exists.");
308 308
     }
309 309
     mkdir($dir);
310 310
     header("Location: buda.php");
Please login to merge, or discard this patch.