Changeset 24889 for extensions/GuestBook/admin/config.php
- Timestamp:
- Oct 14, 2013, 6:35:28 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GuestBook/admin/config.php
r15948 r24889 1 1 <?php 2 if (!defined(' PHPWG_ROOT_PATH')) die('Hacking attempt!');2 if (!defined('GUESTBOOK_PATH')) die('Hacking attempt!'); 3 3 4 4 if (isset($_POST['submit'])) … … 10 10 'nb_comment_page' => $_POST['nb_comment_page'], 11 11 'activate_rating' => isset($_POST['activate_rating']), 12 'guest_can_view' => isset($_POST['guest_can_view']), 13 'guest_can_add' => isset($_POST['guest_can_add']), 12 14 ); 13 15 … … 18 20 $template->assign($conf['guestbook']); 19 21 20 $template->set_filename('guestbook', dirname(__FILE__).'/template/config.tpl'); 21 22 ?> 22 $template->set_filename('guestbook', realpath(GUESTBOOK_PATH . 'admin/template/config.tpl'));
Note: See TracChangeset
for help on using the changeset viewer.