mirror of
https://github.com/unraid/webgui.git
synced 2026-01-20 00:19:59 -06:00
Docker: more intuitive handling of images
This commit is contained in:
15
plugins/dynamix.docker.manager/include/DoesExist.php
Normal file
15
plugins/dynamix.docker.manager/include/DoesExist.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?PHP
|
||||
/* Copyright 2005-2020, Lime Technology
|
||||
* Copyright 2012-2020, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
echo file_exists($_POST['name']) ? 0 : 1;
|
||||
?>
|
||||
Reference in New Issue
Block a user