allow TakeATour to exist in the public part

typo fix in config.inc.php

git-svn-id: http://piwigo.org/svn/trunk@28180 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
flop25
2014-04-14 20:58:02 +00:00
parent 511138399b
commit 8f9d4416e5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -26,11 +26,11 @@ elseif ( isset($_GET['tour_ended']) and in_array($_GET['tour_ended'], $avalaible
pwg_unset_session_var('tour_to_launch');
}
if (pwg_get_session_var('tour_to_launch') and defined('IN_ADMIN') and IN_ADMIN and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour" )
if (pwg_get_session_var('tour_to_launch') and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour" )
{
pwg_unset_session_var('tour_to_launch');
}
elseif ( pwg_get_session_var('tour_to_launch') and defined('IN_ADMIN') and IN_ADMIN)
elseif ( pwg_get_session_var('tour_to_launch') )
{
add_event_handler('init', 'TAT_add_js_css');
include('tours/'.pwg_get_session_var('tour_to_launch').'/config.inc.php');