Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed conflict
[wfpl.git]
/
format.php
diff --git
a/format.php
b/format.php
index
a658dbb
..
cf59504
100644
(file)
--- a/
format.php
+++ b/
format.php
@@
-32,8
+32,8
@@
function format_zip($str) {
function format_filename($str) {
$str = strtolower($str);
function format_filename($str) {
$str = strtolower($str);
- $str = ereg_replace('[^a-z0-9_.-]', '_', $str);
- return ereg_replace('^[0-9.-]*', '', $str);
+ $str = ereg_replace('[^a-z0-9_.]', '_', $str);
+ return ereg_replace('^[.]*', '', $str);
}
function format_varname($str) {
}
function format_varname($str) {