private static function run_setting_routing()
 {
     /* 
      * Check if we need to redeploy default PDF templates/styles to the theme folder 
      */
     if (FP_PDF_DEPLOY === true && rgpost('fp_pdf_deploy') && (wp_verify_nonce($_POST['fp_pdf_deploy_nonce'], 'fp_pdf_deploy_nonce_action') || wp_verify_nonce($_GET['_wpnonce'], 'pdf-extended-filesystem'))) {
         if (rgpost('upgrade')) {
             /* 
              * Deploy new template styles 
              * If we get false returned Wordpress is trying to get 
              * access details to update files so don't display anything.
              */
             if (self::deploy() === false) {
                 return true;
             }
         } elseif (rgpost('font-initialise')) {
         }
         /*elseif(rgpost('cancel'))
         		{
         			update_option('gf_pdf_extended_deploy', 'yes');	
         		}*/
     }
     /*
      * If the user hasn't requested deployment and there is a _wpnonce check which one it is 
      * and call appropriate function
      */
     if (isset($_GET['_wpnonce'])) {
         /*
          * Check if we want to copy the theme files
          */
         if (wp_verify_nonce($_GET['_wpnonce'], 'fppdfe_sync_now')) {
             $themes = get_option('fppdfe_switch_theme');
             if (isset($themes['old']) && isset($themes['new']) && FPPDF_InstallUpdater::do_theme_switch($themes['old'], $themes['new']) === false) {
                 return true;
             }
         }
     }
 }