diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-02 02:03:52 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-02 02:03:52 +0100 |
commit | 85824de70ded75c98bd50220160e2171fdc8df41 (patch) | |
tree | 11480f65ff97ddbb3ea4806ff1f313628ced15a0 /w/class/controllerhome.php | |
parent | 36ef34af2abcdea63a73b578208f20ca40b52f49 (diff) | |
download | wcms-85824de70ded75c98bd50220160e2171fdc8df41.tar.gz wcms-85824de70ded75c98bd50220160e2171fdc8df41.zip |
render working and url auto link
Diffstat (limited to 'w/class/controllerhome.php')
-rw-r--r-- | w/class/controllerhome.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/w/class/controllerhome.php b/w/class/controllerhome.php index 6e62426..31d27c3 100644 --- a/w/class/controllerhome.php +++ b/w/class/controllerhome.php @@ -22,7 +22,7 @@ class Controllerhome extends Controllerdb public function table2() { - $table = $this->artmanager->getlister(); + $table = $this->modelhome->getlister(); $this->opt = $this->modelhome->optinit($table); $table2 = $this->modelhome->table2($table, $this->opt); @@ -37,8 +37,8 @@ class Controllerhome extends Controllerdb if($this->user->level() >= Modeluser::EDITOR) { $scan = new Modelanalyse; $scan->analyseall(); - - $this->table2(); + $this->redirect('./'); + } } |