Kian Posted November 6, 2018 Share Posted November 6, 2018 (edited) Tricky question about Smarty. vendor/smarty/smarty/libs/Smarty.class.php line 500 public $default_modifiers = array('upper'); I would expect that to see all Smarty variables of WHMCS in uppercase but in reality it works just on custom pages (the ones where I use new ClientArea();). I can't see where WHMCS loads and extends Smarty class but I suspect that it ignores or overrides all custom constants and user-defined methods including my $default_modifiers. That said, does anyone know how play with the mysterious Smarty class of WHMCS so that it respects my customizations? Edited November 6, 2018 by Kian 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 7, 2018 Author Share Posted November 7, 2018 (edited) Edit: my fault. I was autoloading and registering my prefilter without force recompile = true. Edited November 7, 2018 by Kian 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.