mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Added location import capability, cleaned up some import wording, renamed clean_file_name function to just strto_AZaz09 and clean export and sample csv client names
This commit is contained in:
@@ -409,16 +409,16 @@ function getDomainExpirationDate($name){
|
||||
}
|
||||
|
||||
|
||||
function clean_file_name($string){
|
||||
function strto_AZaz09($string){
|
||||
$string = strtolower($string);
|
||||
|
||||
// Gets rid of spaces
|
||||
$clean_file_name = preg_replace('/\s/', '', $string);
|
||||
$strto_AZaz09 = preg_replace('/\s/', '', $string);
|
||||
|
||||
// Gets rid of non-alphanumerics
|
||||
$clean_file_name = preg_replace( '/[^A-Za-z0-9_]/', '', $string );
|
||||
$strto_AZaz09 = preg_replace( '/[^A-Za-z0-9_]/', '', $string );
|
||||
|
||||
return $clean_file_name;
|
||||
return $strto_AZaz09;
|
||||
}
|
||||
|
||||
// Cross-Site Request Forgery check for sensitive functions
|
||||
|
||||
Reference in New Issue
Block a user