[eluser]drewbee[/eluser]
Wait, so this isn't working?
Pre system hook:
Code:
if (isset($_GET['crypt']))
{
define('CRYPT', $_GET['crypt']);
unset($_GET['crypt');
}
then visiting /home/order_success?crypt=asdfasdfasdfasdf
It should unset the $_GET used to prevent it from crashing in CI as invalid characters, and all will be will (or should be) in the controller.
This is under the hopefull thought that permitted uri chars hasn't been checked yet.
My thinking sais this should create the constant anytime the query_string var crypt is set. No need for routes or htaccess.