Smarty is server side processing, so i wonder why it should have to do anything with it.
i don't know the other application, it might do crazy stuff.
in G2, you can activate immediate debug mode in config.php then you see what redirects it tries to do.