Skip to content

Commit

Permalink
* Attention! MODXEvo.libraries.ddTools >= 0.21 is required.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilyas Ronef committed Feb 2, 2018
1 parent 5e53c23 commit c3d348d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ddYMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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, [
Expand Down

0 comments on commit c3d348d

Please sign in to comment.