diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-10-25 20:25:05 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-10-25 20:25:05 +0200 |
commit | a91c916248f967da2d4218b575e665242b7c975b (patch) | |
tree | 3c767e9b7b62161253aef2d93030f4b38fd47d49 /w/class/controllerdb.php | |
parent | 7b2e48276b2a3ceff83c906d38077f8d0479c3df (diff) | |
download | wcms-a91c916248f967da2d4218b575e665242b7c975b.tar.gz wcms-a91c916248f967da2d4218b575e665242b7c975b.zip |
phoenixreborn\'NWY
Diffstat (limited to 'w/class/controllerdb.php')
-rw-r--r-- | w/class/controllerdb.php | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/w/class/controllerdb.php b/w/class/controllerdb.php new file mode 100644 index 0000000..5d75d39 --- /dev/null +++ b/w/class/controllerdb.php @@ -0,0 +1,42 @@ +<?php + +class Controllerdb extends Controller +{ + + protected $artmanager; + + public function __construct() { + parent::__construct(); + + + $this->artmanager = new Modelart(); + + } + + + + // if (isset($_POST['actiondb'])) { + // $app->setbdd($config); + + // switch ($_POST['actiondb']) { + + // case 'addtable': + // if (isset($_POST['tablename'])) { + // $message = Modeldb::addtable($config->dbname(), $_POST['tablename']); + // header('Location: ./?aff=admin&message=' . $message); + // } + // break; + + // case 'duplicatetable': + // $message = Modeldb::tableduplicate($config->dbname(), $_POST['arttable'], $_POST['tablename']); + // header('Location: ./?aff=admin&message=' . $message); + // break; + + // } + // } +} + + + + +?>
\ No newline at end of file |