aboutsummaryrefslogtreecommitdiff
path: root/public/w
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-03-17 12:33:32 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-03-17 12:33:32 +0100
commit6429cb3f90a23fd1aae0d2298c54e8a88d213bcf (patch)
treeec078a915c5bd04446a59893766a4cbdf0b652d7 /public/w
parent53a5f6b267b1deb8c5f10973c1a238ff74a33e5a (diff)
downloadwcms-6429cb3f90a23fd1aae0d2298c54e8a88d213bcf.tar.gz
wcms-6429cb3f90a23fd1aae0d2298c54e8a88d213bcf.zip
Added app class and reorganisation of the folders
Diffstat (limited to 'public/w')
-rw-r--r--public/w/art.php0
-rw-r--r--public/w/art_create.php0
-rw-r--r--public/w/art_delete.php0
-rw-r--r--public/w/art_display.php0
-rw-r--r--public/w/art_edit.php0
-rw-r--r--public/w/index.php21
6 files changed, 21 insertions, 0 deletions
diff --git a/public/w/art.php b/public/w/art.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/public/w/art.php
diff --git a/public/w/art_create.php b/public/w/art_create.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/public/w/art_create.php
diff --git a/public/w/art_delete.php b/public/w/art_delete.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/public/w/art_delete.php
diff --git a/public/w/art_display.php b/public/w/art_display.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/public/w/art_display.php
diff --git a/public/w/art_edit.php b/public/w/art_edit.php
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/public/w/art_edit.php
diff --git a/public/w/index.php b/public/w/index.php
new file mode 100644
index 0000000..6299fd1
--- /dev/null
+++ b/public/w/index.php
@@ -0,0 +1,21 @@
+<?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
+
+$app = new App($config);
+$art = new Art;
+$art->createfrombdd($id, $app->getBdd());
+
+include($root . '/head.php')
+
+?> \ No newline at end of file