Index: trunk/core/units/general/cat_dbitem.php =================================================================== diff -u -r3268 -r3282 --- trunk/core/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 3268) +++ trunk/core/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 3282) @@ -19,7 +19,7 @@ $this->checkFilename(); $this->SetDBField('ResourceId', $this->Application->NextResourceId()); - $this->SetDBField('Modified', mktime()); + $this->SetDBField('Modified', adodb_mktime() ); $this->SetDBField('CreatedById', $this->Application->GetVar('u_id')); $this->generateFilename(); @@ -44,7 +44,7 @@ { $this->checkFilename(); $this->VirtualFields['ResourceId'] = true; - $this->SetDBField('Modified', mktime()); + $this->SetDBField('Modified', adodb_mktime() ); $this->SetDBField('ModifiedById', $this->Application->GetVar('u_id')); $this->generateFilename(); @@ -201,8 +201,8 @@ */ function stripDisallowed($string) { - $not_allowed = Array( ' ', '\\', '/', ':', '*', '?', '"', '<', '>', '|', - '~', '!', '@', '#', '$', '%', '^', '&', '(', ')', + $not_allowed = Array( ' ', '\\', '/', ':', '*', '?', '"', '<', '>', '|', '`', + '~', '!', '@', '#', '$', '%', '^', '&', '(', ')', '~', '+', '=', '-', '{', '}', ']', '[', "'", ';', '.', ','); $string = str_replace($not_allowed, '_', $string);