about.php 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright 2009 Lucas Baudin <xapantu@gmail.com>
  4. * 2011 - 2014 Stephen Just <stephenjust@gmail.com>
  5. * 2014 Daniel Butum <danibutum at gmail dot com>
  6. * This file is part of stk-addons.
  7. *
  8. * stk-addons is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * stk-addons 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 General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with stk-addons. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. require_once(__DIR__ . DIRECTORY_SEPARATOR . "config.php");
  22. $tpl = StkTemplate::get('about.tpl')->setMinify(false);
  23. $tpl->assignTitle(_h('About'));
  24. $tpl->assign('about', ['credits' => ['content' => FileSystem::fileGetContents("CREDITS")]]);
  25. echo $tpl;