]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/includes.php
Un-needed files removed (see phpmailer.sf.net for details of PHPMailer class)
[shipsimu.git] / inc / includes.php
index a9af02b50245144ec9ed515900e5e26c51395b59..709fb2aaf38989976ce77bd50aeda88ebbeff5d1 100644 (file)
@@ -52,7 +52,7 @@ if (!empty($_GET['app'])) {
 $application = htmlentities(strip_tags($application), ENT_QUOTES);
 
 // Secure it a little more with a reg.exp.
-$application = preg_replace('/([^a-z_-])+/i', "", $application);
+$application = preg_replace('/([^a-z0-9_-])+/i', "", $application);
 
 // Set the application name for later usage
 $cfg->setConfigEntry('app_name', $application);