Merge branch 'master' of https://codefirst.iut.uca.fr/git/nathan.boileau/Scripted
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Johan LACHENAL 2 years ago
commit 54c83e8dcf

@ -1,6 +1,6 @@
<?php
//préfixe
$rep = '../';
$rep = __DIR__ . '/../';
//BD
$dsn = 'mysql:host=londres.uca.local; dbname=dbnogarnier1';

@ -1,5 +1,4 @@
<?php
use Vtiful\Kernel\Excel;
class Controller
{
@ -12,6 +11,7 @@ class Controller
$this->con=$con;
session_start();
try{
echo "controller";
global $rep, $vues, $error;
$action=$_REQUEST['action'];
switch($action) {

@ -2,9 +2,11 @@
require_once('./Config/Config.php');
require_once('./Config/Autoload.php');
Autoload::charger();
echo "post";
$con = new Connection($dsn, $user, $password);
echo "con";
$control = new Controller($con);
echo "after";
session_regenerate_id(true);
// session_unset();

Loading…
Cancel
Save