Ignore:
Timestamp:
Oct 14, 2013, 6:35:28 PM (11 years ago)
Author:
mistic100
Message:

use my plugin architecture, add options to hide the page for guests, fix admin links in mails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/admin/pending.php

    r15940 r24889  
    11<?php
    2 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     2if (!defined('GUESTBOOK_PATH')) die('Hacking attempt!');
    33
    44include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
     
    109109
    110110
    111 $template->set_filename('guestbook', dirname(__FILE__).'/template/pending.tpl');
     111$template->set_filename('guestbook', realpath(GUESTBOOK_PATH . 'admin/template/pending.tpl'));
    112112
    113113?>
Note: See TracChangeset for help on using the changeset viewer.