// Set the base path
$tplInstance->setBasePath($basePath);
- // Initialize the variable stack
- $tplInstance->initVariableStack();
-
// Set the language and IO instances
$tplInstance->setLanguageInstance($langInstance);
$tplInstance->setFileIoInstance($ioInstance);