aboutsummaryrefslogtreecommitdiff
path: root/w/index.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-03-17 11:19:05 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-03-17 11:33:03 +0100
commit53a5f6b267b1deb8c5f10973c1a238ff74a33e5a (patch)
treed3d3611a6aa31023fd911fced4906e72188647b3 /w/index.php
downloadwcms-53a5f6b267b1deb8c5f10973c1a238ff74a33e5a.tar.gz
wcms-53a5f6b267b1deb8c5f10973c1a238ff74a33e5a.zip
Commit initial
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