Trying to include files into my main snippet and at the beginning of the php it includes 5 files when I include these files I loose all there values when I try to return the output in snippet what am I doing wrong.
[[Snippet]]
------------------------------------------
include($modx->config['base_path'].'assets/mlm/lm_strings.inc.php');
return( @html_entity_decode( "<ERROR>" . $kErr_missingparam_cmd[$lang] . ": &cmd=command</ERROR>", $dec_quotes, $dec_charset ) );
-------------------------------------------/
lm_strings.inc.php
-----------------------------------
$enc_quotes = ENT_COMPAT;
$enc_charset = "UTF-8";
$kErr_missingparam_cmd = array(
'en' => htmlentities( 'Error - You forgot to provide the command parameter', $enc_quotes, $enc_charset ),
'fr' => htmlentities( 'Erreur - Vous n\'avez pas spécifié la commande à exécuter', $enc_quotes, $enc_charset ),
'de' => htmlentities( 'Fehler - Sie haben vergessen, den Parameter für den Befehl anzugeben', $enc_quotes, $enc_charset ),
'es' => htmlentities( 'Error - No ha especificado el comando a ejecutar', $enc_quotes, $enc_charset ),
'it' => htmlentities( 'Errore - non hai fornito un parametro di comando', $enc_quotes, $enc_charset ),
'nl' => htmlentities( 'Fout - Je bent vergeten de opdracht parameter te geven', $enc_quotes, $enc_charset )
);
-----------------------------------