Ignore:
Timestamp:
Apr 14, 2014, 10:58:02 PM (10 years ago)
Author:
flop25
Message:

allow TakeATour to exist in the public part

typo fix in config.inc.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/TakeATour/main.inc.php

    r28169 r28180  
    2727}
    2828
    29 if (pwg_get_session_var('tour_to_launch') and defined('IN_ADMIN') and IN_ADMIN and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour" )
     29if (pwg_get_session_var('tour_to_launch') and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour" )
    3030{
    3131  pwg_unset_session_var('tour_to_launch');
    3232}
    33 elseif ( pwg_get_session_var('tour_to_launch') and defined('IN_ADMIN') and IN_ADMIN)
     33elseif ( pwg_get_session_var('tour_to_launch') )
    3434{
    3535  add_event_handler('init', 'TAT_add_js_css');
Note: See TracChangeset for help on using the changeset viewer.