aboutsummaryrefslogtreecommitdiff
path: root/app/class/application.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-10-18 15:50:34 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-10-18 15:50:34 +0200
commit0968351067f99e8afc882d4237902642e608e6f5 (patch)
tree202d554dcc6135a88c11bee78660c53a47df2931 /app/class/application.php
parent917a3971302791d9df67c047c4e663c9fb04f0c4 (diff)
downloadwcms-0968351067f99e8afc882d4237902642e608e6f5.tar.gz
wcms-0968351067f99e8afc882d4237902642e608e6f5.zip
Big naming Clean-up Art -> Page
Diffstat (limited to 'app/class/application.php')
-rw-r--r--app/class/application.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/class/application.php b/app/class/application.php
index b749d9b..784a388 100644
--- a/app/class/application.php
+++ b/app/class/application.php
@@ -40,12 +40,12 @@ class Application
} else {
if(Config::readconfig()) {
- if(!Config::checkbasepath() || empty(Config::arttable()) || !is_dir(Model::RENDER_DIR) || !Config::checkdomain()) {
+ if(!Config::checkbasepath() || empty(Config::pagetable()) || !is_dir(Model::RENDER_DIR) || !Config::checkdomain()) {
echo '<ul>';
if(!Config::checkbasepath()) {
echo '<li>Wrong path</li>';
}
- if(empty(Config::arttable())) {
+ if(empty(Config::pagetable())) {
echo '<li>Unset table name</li>';
}
if(!Config::checkdomain()) {
@@ -91,9 +91,9 @@ class Application
</div>
<div>
<h2>
- <label for="arttable">Name of your database table</label>
+ <label for="pagetable">Name of your database table</label>
</h2>
- <input type="text" name="configinit[arttable]" value="<?= Config::arttable() ?>" id="arttable">
+ <input type="text" name="configinit[pagetable]" value="<?= Config::pagetable() ?>" id="pagetable">
<p><i>Set the name of the first folder that is going to store all your work</i></p>
</div>
<input type="submit" value="set">