upload.php 595 B

12345678910111213141516171819
  1. <?php
  2. /** This file is part of KCFinder project
  3. *
  4. * @desc Upload calling script
  5. * @package KCFinder
  6. * @version 3.12
  7. * @author Pavel Tzonkov <sunhater@sunhater.com>
  8. * @copyright 2010-2014 KCFinder Project
  9. * @license http://opensource.org/licenses/GPL-3.0 GPLv3
  10. * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3
  11. * @link http://kcfinder.sunhater.com
  12. */
  13. require "core/bootstrap.php";
  14. $uploader = "kcfinder\\uploader"; // To execute core/bootstrap.php on older
  15. $uploader = new $uploader(); // PHP versions (even PHP 4)
  16. $uploader->upload();
  17. ?>