Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [PerlFlunkie] Spanish language category (¡Español!)

Quote Reply
Re: [PerlFlunkie] Spanish language category (¡Español!) In reply to
Oops, you need to change this in nph-build.cgi, too (last routine in the file):


sub build_check_dir {
# --------------------------------------------------------
# Checks the directory before we create it to make sure there
# are no funncy characters in it.
my ($root, $dir) = @_;
my $chrs = quotemeta ("/_-");

if (! -e $root) {
&cgierr ("Root directory: $root does not exist!");
}
if ($dir !~ m,^[\c&\c;\w\d$chrs]+$,) {
&cgierr ("Invalid characters in category name: $dir. Must contain only letters, numbers, _, / and -.");
}
return $input;
}


Leonard
aka PerlFlunkie
Subject Author Views Date
Thread Spanish language category (¡Español!) Carlitos 3102 May 22, 2005, 6:32 AM
Thread Re: [Carlitos] Spanish language category (¡Español!)
PerlFlunkie 2980 May 22, 2005, 4:36 PM
Thread Re: [PerlFlunkie] Spanish language category (¡Español!)
PerlFlunkie 2967 May 22, 2005, 6:50 PM
Post Re: [PerlFlunkie] Spanish language category (�Espa�ol!)
Carlitos 2978 May 23, 2005, 5:20 AM