[PLUGINS] +pages
[ptitvelo/web/www.git] / www / plugins / pages / base / pages_tables.php
diff --git a/www/plugins/pages/base/pages_tables.php b/www/plugins/pages/base/pages_tables.php
new file mode 100644 (file)
index 0000000..47fdabd
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+#---------------------------------------------------#
+#  Plugin  : Pages                                  #
+#  Auteur  : RastaPopoulos                          #
+#  Licence : GPL                                    #
+#--------------------------------------------------------------- -#
+#  Documentation : http://www.spip-contrib.net/Plugin-Pages       #
+#-----------------------------------------------------------------#
+
+if (!defined("_ECRIRE_INC_VERSION")) return;
+
+function pages_declarer_tables_objets_sql($tables){
+       
+       $tables['spip_articles']['field']['page'] = "VARCHAR(255) DEFAULT '' NOT NULL";
+       return $tables;
+
+}
+
+?>