|
From: Jochen M. <j.m...@om...> - 2003-12-28 11:40:09
|
Hi, > > >Another smal obstactle is the following: > >4. When creating a new share and using "/" in the descriptive name > > the system will take it, but display an error, cause > > the corresponding ini-file (e.g. inc/servers/domain.share.inc) > > can not be created correctly. > > > > -> What would be the best way to change this ? > > Display an error? Or maybe change "/" in "_" while creating? > > > > > I think an error message would be appropriate. As discussed in your > other email, it's really a name and not a description. so here comes the diff: Index: admin.php =================================================================== RCS file: /cvsroot/bobs/bobs/admin.php,v retrieving revision 1.24 diff -r1.24 admin.php 280a281,283 > // avoid that "/" is used in Share name > if (substr_count($share,"/") > 0) > return "'/' is not allowed in the Share name (suggestion: use '_' instead)"; THX Jochen |