diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2018-03-17 22:47:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-17 22:47:49 +0100 |
commit | 3650a038f0a6c99d52723e9567d5f173c4398c3a (patch) | |
tree | a6331e81e91b9672042b2b4052c7c23cb660a6be /public/w/index.php | |
parent | bd20965314da58dd81a19ed20e9b539b7045257a (diff) | |
parent | 421bc80ae096e0bf59a074a4e7a70b2106a7fa1e (diff) | |
download | wcms-3650a038f0a6c99d52723e9567d5f173c4398c3a.tar.gz wcms-3650a038f0a6c99d52723e9567d5f173c4398c3a.zip |
Merge pull request #1 from n-peugnet/patch-1
utilisation d'un chemin relatif pour les inclusions
Diffstat (limited to 'public/w/index.php')
-rw-r--r-- | public/w/index.php | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/public/w/index.php b/public/w/index.php index 4d28510..99d8cb6 100644 --- a/public/w/index.php +++ b/public/w/index.php @@ -2,12 +2,10 @@ //inw -set_include_path('e:/WEB/wcms'); - -require('fn/fn.php'); -require('class/class.art.php'); -require('class/class.app.php'); -$config = include('config.php'); +require('../../fn/fn.php'); +require('../../class/class.art.php'); +require('../../class/class.app.php'); +$config = include('../../config.php'); $app = new App($config); session(); @@ -85,4 +83,4 @@ echo '</pre>'; -?>
\ No newline at end of file +?> |