browse.php 655 B

123456789101112131415161718192021222324
  1. <?php
  2. /** This file is part of KCFinder project
  3. *
  4. * @desc Browser 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. @session_start();
  14. if( $_SESSION['KCFINDER']['admin_news'] ){
  15. require "core/bootstrap.php";
  16. $browser = "kcfinder\\browser"; // To execute core/bootstrap.php on older
  17. $browser = new $browser(); // PHP versions (even PHP 4)
  18. $browser->action();
  19. }
  20. ?>