Created
May 28, 2020 17:49
-
-
Save guelu63/e8aaee35340688833b9c64a2692a91d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$anim = $modx->getService('animales', 'Animales', $modx->getOption('animales.core_path', null, $modx->getOption('core_path') . 'components/animales/') . 'model/animales/', $scriptProperties); | |
if (!($anim instanceof Animales)) return ''; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment