芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/intervention/image/src/Intervention/Image/Gd/Commands/ResetCommand.php
argument(0)->value(); if (is_resource($backup = $image->getBackup($backupName))) { // destroy current resource imagedestroy($image->getCore()); // clone backup $backup = $image->getDriver()->cloneCore($backup); // reset to new resource $image->setCore($backup); return true; } throw new RuntimeException( "Backup not available. Call backup() before reset()." ); } }