init.php 911 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * PHP Portal Engine v3.0.0
  4. * https://github.com/bztsrc/phppe3/
  5. *
  6. * Copyright LGPL 2016
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU Lesser General Public License as published
  10. * by the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Lesser General Public License for more details.
  17. *
  18. * <http://www.gnu.org/licenses/>
  19. *
  20. * @file vendor/phppe/CMS/init.php
  21. * @author bzt
  22. * @date 26 May 2016
  23. * @brief
  24. */
  25. namespace PHPPE;
  26. //! import simple diff implementation
  27. include_once(__DIR__."/libs/simplediff.php");
  28. //! return your service class here
  29. return new CMS;