Changeset 28180


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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r26928 r28180  
    440440
    441441// if true, some language strings are replaced during template compilation
    442 // (insted of template output). this results in better performance. however
     442// (instead of template output). this results in better performance. however
    443443// any change in the language file will not be propagated until you purge
    444444// the compiled templates from the admin / maintenance menu
  • 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.