Configuración ampliada (config extended.php)

 

The config_extended.php script allows you to modify the initial configuration defined through the config.php script to customize or extend it for a specific database. The parameters that allow this customization are defined in the dr_path.def file .

There are two additional parameters that are not read from the dr_path.def file :

show_acces that determines whether access to the operator database (access) is shown (Y) or not (N) when it is included in the file bases.dat

$fix_file_name which indicates the conversion to be done on the name of the uploaded files when cataloging the records, in order to eliminate the diacritics. This parameter is an array indicating the character conversion table. By default it has the following value:

    $fix_file_name = array('Š'=>'S', 'š'=>'s', 'Ž'=>'Z', 'ž'=>'z', 'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A',
    'Å'=>'A', 'Æ'=>'A', 'Ç'=>'C', 'È'=>'E', 'É'=>'E', 'Ê'=> 'E', 'Ë'=>'E', 'Ì'=>'I', 'Í'=>'I',
    'Î'=>'I', 'Ï'=>'I', 'Ñ'=>'N', 'Ò'=>'O', 'Ó'=>'O', 'Ô'=> 'O', 'Õ'=>'O', 'Ö'=>'O', 'Ø'=>'O',
    'Ù'=>'U', 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'U', 'Ý'=>'Y', 'Þ'=> 'B', 'ß'=>'Ss', 'à'=>'a', 'á'=>'a',
    'â'=>'a', 'ã'=>'a', 'ä'=>'a', 'å'=>'a', 'æ'=>'a', 'ç'=> 'c', 'è'=>'e', 'é'=>'e', 'ê'=>'e',
    'ë'=>'e', 'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i', 'ð'=> 'o', 'ñ'=>'n', 'ò'=>'o', 'ó'=>'o',
    'ô'=>'o', 'õ'=>'o', 'ö'=>'o', 'ø'=>'o', 'ù'=>'u', 'ú'=> 'u', 'û'=>'u', 'ý'=>'y', 'þ'=>'b',
    'ÿ'=>'y',' '=>'_' );

As can be seen, the blank space is included, which is replaced by _

If you do not want the normalization of the file names to be carried out, prepend // the parameter