Example #1
0
     echo $controller->registerAction();
     die;
 }
 if (preg_match('/^lost_password\\//Uu', $url, $matches)) {
     require_once 'AuthController.php';
     $controller = new AuthController();
     if (preg_match('/^lost_password\\/(|\\?.*)$/Uu', $url, $matches)) {
         echo $controller->lostPasswordAction();
         die;
     }
     if (preg_match('/^lost_password\\/sent\\/(|\\?.*)$/Uu', $url, $matches)) {
         echo $controller->lostPasswordSentAction();
         die;
     }
     if (preg_match('/^lost_password\\/change\\/(|\\?.*)$/Uu', $url, $matches)) {
         echo $controller->lostPasswordChangeAction();
         die;
     }
     if (preg_match('/^lost_password\\/changed\\/(|\\?.*)$/Uu', $url, $matches)) {
         echo $controller->lostPasswordChangedAction();
         die;
     }
 }
 if (preg_match('/^subscription\\/(|\\?.*)$/Uu', $url, $matches)) {
     require_once 'SubscriptionController.php';
     $controller = new SubscriptionController();
     echo $controller->actions();
     die;
 }
 /*
 	if (preg_match('/^u([0-9]+)\/(|\?.*)$/Uu', $url, $matches)) {