/class/xoopseditor/tinymce/include/xoops_images.php

https://gitlab.com/VoyaTrax/vtCMS3 · PHP · 20 lines · 7 code · 2 blank · 11 comment · 2 complexity · 155578020e05d7f1aa0272750df5775c MD5 · raw file

  1. <?php
  2. /**
  3. * TinyMCE adapter for XOOPS
  4. *
  5. * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
  6. * @license http://www.fsf.org/copyleft/gpl.html GNU public license
  7. * @package class
  8. * @subpackage editor
  9. * @since 2.6.0
  10. * @author Laurent JEN (aka DuGris)
  11. * @version $Id: xoops_images.php 10699 2013-01-07 23:46:35Z dugris $
  12. */
  13. if (!defined("XOOPS_ROOT_PATH")) { die("XOOPS root path not defined"); }
  14. $xoops = Xoops::getInstance();
  15. if ($xoops->isActiveModule('images')) { return true;
  16. }
  17. return false;
  18. ?>