aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/main.inc.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-07-05 15:22:55 +0000
committerflop25 <flop25@piwigo.org>2014-07-05 15:22:55 +0000
commitf140339c7dcac4c4670421b5619b80a84eac131e (patch)
treeed83a7de8eee2414fa61b63a38adf262903c1a5c /plugins/TakeATour/main.inc.php
parent0e562071c44ec55f72988bab48be9e9ddb35d1b0 (diff)
[take a tour]
empty language value with a space tour 2.7 : search page, select js tour privacy : wip git-svn-id: http://piwigo.org/svn/trunk@28951 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/TakeATour/main.inc.php')
-rw-r--r--plugins/TakeATour/main.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php
index fc54b88a3..1d7153ef1 100644
--- a/plugins/TakeATour/main.inc.php
+++ b/plugins/TakeATour/main.inc.php
@@ -26,12 +26,14 @@ elseif ( isset($_GET['tour_ended']) and defined('IN_ADMIN') and IN_ADMIN )
}
/** Setup the tour **/
+/*
+ * REMOVE FOR RELEASE
$version_=str_replace('.','_',PHPWG_VERSION);
if (pwg_get_session_var('tour_to_launch')!=$version_ and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour")
{
pwg_unset_session_var('tour_to_launch');
}
-elseif ( pwg_get_session_var('tour_to_launch') )
+else*/if ( pwg_get_session_var('tour_to_launch') )
{
add_event_handler('init', 'TAT_tour_setup');
include('tours/'.pwg_get_session_var('tour_to_launch').'/config.inc.php');