diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 18:37:36 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 18:37:36 +0100 |
commit | 45903fe3960b65d63f70188640630c895dbbe222 (patch) | |
tree | ba0b0f9ba0615cd46214eeab236031c062664d6d /app/class/application.php | |
parent | d7f3313ff4514e38c9f53439cd1a1287e56e45f7 (diff) | |
download | wcms-45903fe3960b65d63f70188640630c895dbbe222.tar.gz wcms-45903fe3960b65d63f70188640630c895dbbe222.zip |
cleaning
Diffstat (limited to 'app/class/application.php')
-rw-r--r-- | app/class/application.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/class/application.php b/app/class/application.php index 2872695..79e9563 100644 --- a/app/class/application.php +++ b/app/class/application.php @@ -19,9 +19,9 @@ class Application } } else { if(Config::readconfig()) { - if(!Config::checkcmspath() || empty(Config::admin()) || empty(Config::arttable())) { + if(!Config::checkbasepath() || empty(Config::admin()) || empty(Config::arttable())) { echo '<ul>'; - if(!Config::checkcmspath()) { + if(!Config::checkbasepath()) { echo '<li>Wrong path</li>'; } if(empty(Config::admin())) { @@ -49,9 +49,9 @@ class Application <form action="" method="post"> <div> <h2> - <label for="cmspath">Path to W-CMS</label> + <label for="basepath">Path to W-CMS</label> </h2> - <input type="text" name="configinit[cmspath]" value="<?= Config::cmspath() ?>" id="cmspath"> + <input type="text" name="configinit[basepath]" value="<?= Config::basepath() ?>" id="basepath"> <p><i>Leave it empty if W-CMS is in your root folder, otherwise, indicate the subfolder(s) in witch you installed the CMS</i></p> </div> <div> |