diff --git a/index.php b/index.php index a98033efca7cb2e7aed0e486fb3708988c04b845..e590186f5bab706de1636280d8214388c5192277 100644 --- a/index.php +++ b/index.php @@ -71,9 +71,10 @@ $url = '../'.$test.'?mode=test_general'; else $url = "squel.php?test=$test&var_mode=recalcul"; - + $joli = basename($test); $dirTests = false; + $section_svn = ""; if ($base == 'tests/') { $dirTests = true; $section = basename(dirname($test)); diff --git a/simpletest/simpletest_options.php b/simpletest/simpletest_options.php index 9e32151814fc1e7a3b95e6c117b55bb808854f4a..6ee56bdc666df9ed07d6de47553116be833aa844 100644 --- a/simpletest/simpletest_options.php +++ b/simpletest/simpletest_options.php @@ -1,5 +1,5 @@ <?php -define('_DIR_SIMPLE_TEST',_DIR_PLUGIN_SIMPLETEST); +define('_DIR_SIMPLE_TEST', _DIR_PLUGIN_SIMPLETEST); ?> diff --git a/test.inc b/test.inc index fe1d8d4b3d1d4d407ac19c86b151cc6a8448c1db..02b74f35a69a34379918b631e9621cdfd58a8d49 100644 --- a/test.inc +++ b/test.inc @@ -22,7 +22,7 @@ if (!defined('_VAR_MODE')) { // activer simpletest _chemin(basename(_SPIP_TEST_INC)."/simpletest/"); -include_spip("simpletest_options"); + // pour notice sur recuperer_fond() if (!isset($GLOBALS['spip_lang'])) {