Browse Source

Remplacer recuperer_page par recuperer_url

master
Eric Lupinacci 4 months ago
parent
commit
b5d6dd53f5
  1. 7
      inc/tb_lib.php
  2. 2
      paquet.xml

7
inc/tb_lib.php

@ -284,7 +284,7 @@ function tb_test_essais($funcname,$filetest,$essais_new=null){
* @param $filename
* @param $funcname
* @param $filetest
* @return void
* @return bool
*/
function tb_refresh_test($filename,$funcname,$filetest){
include_spip('inc/securiser_action');
@ -293,7 +293,10 @@ function tb_refresh_test($filename,$funcname,$filetest){
$url = generer_url_action("tb_set_test_output", "arg=$arg&hash=$hash",true,true);
#var_dump($url);
include_spip("inc/distant");
if (recuperer_page($url)) return true;
$page = recuperer_url($url);
if (!empty($page['page'])) {
return true;
}
return false;
}

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="tb"
categorie="outil"
version="1.1.0"
version="1.1.1"
etat="test"
compatibilite="[4.0.0-alpha;4.0.*]"
logo="tb.svg"

Loading…
Cancel
Save