issue #11 (2)
This commit is contained in:
parent
553f6cb3a1
commit
8ed9c43e67
1 changed files with 1 additions and 0 deletions
|
@ -692,6 +692,7 @@ function complete_url($url) {
|
|||
}
|
||||
|
||||
function add_table_and_replace(&$data, $retrievable, &$match1, $match, $url_p, $type) {
|
||||
global $GLOBAL;
|
||||
// get the filenam (basename)
|
||||
$nom_fichier = (preg_match('#^https?://#', $match)) ? pathinfo(parse_url($match, PHP_URL_PATH), PATHINFO_BASENAME) : pathinfo($match, PATHINFO_BASENAME);
|
||||
// get the URL. For relatives URL, uses the GLOBALS[url] tu make the complete URL
|
||||
|
|
Reference in a new issue