file = $title ; if ( $ret->file == "Con" ) $ret->file = "_Con" ; # Windows can't create files named "con.txt" (!), workaround $ret->dir = $basedir . "/" . $ns ; if ( $make_dirs ) @mkdir ( $ret->dir ) ; $ret->dir .= "/" . substr ( $m , 0 , 1 ) ; if ( $make_dirs ) @mkdir ( $ret->dir ) ; $ret->dir .= "/" . substr ( $m , 1 , 2 ) ; if ( $make_dirs ) @mkdir ( $ret->dir ) ; $ret->fullname = $ret->dir . "/" . $ret->file ; return $ret ; } function xml_articles_header() { global $xmlg ; # if ( !isset ( $xmlg['xml_articles_header'] ) ) return "" ; return $xmlg['xml_articles_header'] ; } ?>