| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function __construct($nom_site, $gerant_site, $mail_site, $mail_administrateur) { |
||
| 13 | $dbc = App::getDb(); |
||
| 14 | |||
| 15 | $dbc->insert("nom_site", $nom_site) |
||
| 16 | ->insert("gerant_site", $gerant_site) |
||
| 17 | ->insert("mail_site", $mail_site) |
||
| 18 | ->insert("mail_administrateur", $mail_administrateur) |
||
| 19 | ->into("configuration") |
||
| 20 | ->set(); |
||
| 21 | |||
| 22 | FlashMessage::setFlash("la configuration de votre site a été correctement mse à jour", "success"); |
||
| 23 | } |
||
| 24 | //-------------------------- END BUILDER ----------------------------------------------------------------------------// |
||
| 35 | } |