From 08231e07afe4981a111a1b12d4d79ae75dd9a577 Mon Sep 17 00:00:00 2001
From: "marcimat@rezo.net"
 <marcimat@rezo.net@ac52e18a-acf5-0310-9fe8-c4428f23b10a>
Date: Sat, 15 Feb 2014 16:26:52 +0000
Subject: [PATCH] Notice PHP en moins; pas la peine d'inclure le fichier
 d'option de simpletests, il ne sert pas.

git-svn-id: https://zone.spip.org/spip-zone/_core_/tests@80730 ac52e18a-acf5-0310-9fe8-c4428f23b10a
---
 index.php                         | 3 ++-
 simpletest/simpletest_options.php | 2 +-
 test.inc                          | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/index.php b/index.php
index a98033efca..e590186f5b 100644
--- a/index.php
+++ b/index.php
@@ -71,9 +71,10 @@
 					$url = '../'.$test.'?mode=test_general';
 				else
 					$url = "squel.php?test=$test&amp;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 9e32151814..6ee56bdc66 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 fe1d8d4b3d..02b74f35a6 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'])) {
-- 
GitLab