public function setup() { parent::setup(); if (empty($this->subtype)) { $this->subtype = hypeDropzone()->config->get('default_upload_subtype'); } }
<?php /** * Drag&Drop File Uploads * * @author Ismayil Khayredinov <*****@*****.**> * @copyright Copyright (c) 2015, Ismayil Khayredinov */ try { require_once __DIR__ . '/lib/autoloader.php'; hypeDropzone()->boot(); } catch (Exception $ex) { register_error($ex->getMessage()); }