From 99e0236835d5f7777c6284a9371433d71a746adf Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 14 Oct 2014 17:07:34 -0500 Subject: [PATCH] Change the way how to get the steps - refs #7279 --- plugin/tour/ajax/steps.ajax.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/tour/ajax/steps.ajax.php b/plugin/tour/ajax/steps.ajax.php index 8d2007fd6c..09080aee14 100644 --- a/plugin/tour/ajax/steps.ajax.php +++ b/plugin/tour/ajax/steps.ajax.php @@ -16,8 +16,7 @@ if (!api_is_anonymous()) { $tourPlugin = Tour::create(); - $jsonData = file_get_contents('../config/tour.json'); - $json = json_decode($jsonData, true); + $json = $tourPlugin->getTourCofig(); $currentPageSteps = array();