From c3d348d9aa830ee7ef1b9f07fd329cd0d9e79bdc Mon Sep 17 00:00:00 2001 From: Ilyas Ronef Date: Fri, 2 Feb 2018 12:24:41 +0500 Subject: [PATCH] * Attention! MODXEvo.libraries.ddTools >= 0.21 is required. --- ddYMap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ddYMap.php b/ddYMap.php index a3d24b5..8e0dc72 100644 --- a/ddYMap.php +++ b/ddYMap.php @@ -6,7 +6,7 @@ * @desc A snippet that allows Yandex.Maps to be rendered on a page in a simple way. * * @uses PHP >= 5.4. - * @uses MODXEvo.libraries.ddTools >= 0.12 {@link http://code.divandesign.biz/modx/ddtools }. + * @uses MODXEvo.libraries.ddTools >= 0.21 {@link http://code.divandesign.biz/modx/ddtools }. * * @note Attention! The jQuery library should be included on the page. * @note From the pair of “$geoPos” / “$docField” parameters one is required. @@ -29,8 +29,8 @@ * @copyright 2015–2017 DivanDesign {@link http://www.DivanDesign.biz } */ -//Подключаем modx.ddTools -require_once $modx->getConfig('base_path').'assets/snippets/ddTools/modx.ddtools.class.php'; +//Include MODXEvo.libraries.ddTools +require_once $modx->getConfig('base_path').'assets/libs/ddTools/modx.ddtools.class.php'; //Backward compatibility extract(ddTools::verifyRenamedParams($params, [