diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets
index 524b205..266acd9 100755
--- a/UltiSnips/html.snippets
+++ b/UltiSnips/html.snippets
@@ -344,6 +344,13 @@ var url_${1:nom} = "[(#VAL{$1}|generer_url_action{"", 1})]";
${0}
endsnippet
+snippet ilcdp "" w
+$0
+endsnippet
+snippet iosdve "" w
+$0
+endsnippet
+
snippet ifa "" w
$0
endsnippet
diff --git a/UltiSnips/php.snippets b/UltiSnips/php.snippets
index 8ac1cf3..4f3ef1f 100755
--- a/UltiSnips/php.snippets
+++ b/UltiSnips/php.snippets
@@ -10,16 +10,16 @@ $tables['spip_$1s'] = [
'type' => '${1:objet}',
'principale' => 'oui',
'table_objet_surnoms' => [],
- 'field'=> array(
+ 'field'=> [
'id_$1' => 'bigint(21) NOT NULL',
$0
'statut' => 'varchar(20) DEFAULT "" NOT NULL',
'maj' => 'TIMESTAMP'
- ),
- 'key' => array(
+ ],
+ 'key' => [
'PRIMARY KEY' => 'id_$1',
'KEY statut' => 'statut',
- ),
+ ],
'champs_editables' => [],
'champs_versionnes' => [],
'rechercher_champs' => [],
@@ -345,18 +345,21 @@ function debug_spip() {
define('SPIP_ERREUR_REPORT',E_ALL^E_NOTICE);
define('SPIP_ERREUR_REPORT_INCLUDE_PLUGINS',E_ALL^E_NOTICE);
+ define('_INTERDIRE_COMPACTE_HEAD_ECRIRE', true);
+
define('_DEV_VERSION_SPIP_COMPAT',"3.2.99");
define('_TEST_EMAIL_DEST', 'tofulm@gmail.com');
- //define('_NO_CACHE', -1);
- define('_INTERDIRE_COMPACTE_HEAD_ECRIRE', true);
+
+ //defined('_VERIF_MOBILE_DEBUG') || define('_VERIF_MOBILE_DEBUG', true);
+
}
-if ( $_SERVER['SERVER_ADDR'] === "127.0.0.1") {
+if (!empty($_SERVER['SERVER_ADDR']) and $_SERVER['SERVER_ADDR'] === "127.0.0.1") {
debug_spip();
}
-if ( substr($_SERVER['SERVER_ADDR'],0,7) === "192.168") {
+if (!empty($_SERVER['SERVER_ADDR']) and substr($_SERVER['SERVER_ADDR'],0,7) === "192.168") {
debug_spip();
}
endsnippet