aboutsummaryrefslogtreecommitdiff
path: root/w/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'w/index.php')
-rw-r--r--w/index.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/w/index.php b/w/index.php
new file mode 100644
index 0000000..ebf7106
--- /dev/null
+++ b/w/index.php
@@ -0,0 +1,20 @@
+<?php
+
+//inw
+
+$root = $_SERVER["DOCUMENT_ROOT"];
+require($root . '/fn.php');
+require($root . '/class/art.php');
+$config = include($root . '/config.php');
+$domaine = $config['domaine'];
+
+session();
+
+// fin de in
+
+$art = new Art;
+$art->createfrombdd($id, bddconnect($config['host'], $config['dbname'], $config['user'], $config['password']));
+
+include($root . '/head.php')
+
+?> \ No newline at end of file