Jump to content

Smarty $default_modifiers ignored by WHMCS


Kian

Recommended Posts

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 by Kian
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated