Completed
Push — master ( 9528ad...369c90 )
by Michael
03:33
created

config.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * ****************************************************************************
4
 * references - MODULE FOR XOOPS
5
 * Copyright (c) Herv� Thouzard of Instant Zero (http://www.instant-zero.com)
6
 *
7
 * You may not change or alter any portion of this comment or credits
8
 * of supporting developers from this source code or any supporting source code
9
 * which is considered copyrighted (c) material of the original comment or credit authors.
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
 *
14
 * @copyright       Herv� Thouzard of Instant Zero (http://www.instant-zero.com)
15
 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
16
 * @package         references
17
 * @author 			Herv� Thouzard of Instant Zero (http://www.instant-zero.com)
18
 *
19
 * Version : $Id:
20
 * ****************************************************************************
21
 */
22
if(!defined("REFERENCES_CACHE_PATH")) {
23
	// Le chemin du cache (il est conseill� de le mettre en dehors de la port�e du web)
24
    define("REFERENCES_CACHE_PATH", XOOPS_UPLOAD_PATH.DIRECTORY_SEPARATOR.REFERENCES_DIRNAME.'_cache'.DIRECTORY_SEPARATOR);
25
26
	// Thumbs / Vignettes prefixe
27
	define("REFERENCES_THUMBS_PREFIX", 'thumb_');		// Thumbs prefix (when thumbs are automatically created)
28
29
	// Short text length / Longueur des textes raccourcis
30
	define("REFERENCES_SHORTEN_TEXT", '200');		// Characters count / Nombre de caract�res
31
32
	define("REFERENCES_METAGEN_MAX_KEYWORDS", 40);
33
	define("REFERENCES_METAGEN_KEYWORDS_ORDER", 0);
34
35
	// Automatically fill the manual date when creating a reference ? / Remplir automatiquement la date manuelle lorsqu'on cr�e une r�f�rence
36
	define("REFERENCES_AUTO_FILL_MANUAL_DATE", true);
37
38
	/**
39
 	 * Si la valeur est � false, alors dans les listes de recherche, c�t� admin, on recherche tout ce qui contient quelque chose.
40
 	 * Par exemple si on tape "a", le module trouvera "abajour" et "cartable".
41
 	 * Par contre si on met cette valeur � true alors le module cherchera tout ce qui commence par ...
42
 	 * Par exemple si on tape "a", lemodule trouvera "abajour" MAIS PAS "cartable"
43
 	 * PAR CONTRE "%a" trouvera tout ce qui contient la lettre a
44
 	 */
45
	define("REFERENCES_EXACT_SEARCH", true);
46
}
47
?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...