drupal-civicrm/sites/all/modules/civicrm/packages/kcfinder/upload.php

20 lines
596 B
PHP
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
<?php
/** This file is part of KCFinder project
*
* @desc Upload calling script
* @package KCFinder
* @version 3.12
* @author Pavel Tzonkov <sunhater@sunhater.com>
* @copyright 2010-2014 KCFinder Project
* @license http://opensource.org/licenses/GPL-3.0 GPLv3
* @license http://opensource.org/licenses/LGPL-3.0 LGPLv3
* @link http://kcfinder.sunhater.com
*/
require "core/bootstrap.php";
$uploader = "kcfinder\\uploader"; // To execute core/bootstrap.php on older
$uploader = new $uploader(); // PHP versions (even PHP 4)
$uploader->upload();
?>