diff --git a/events.php b/events.php index 9b19f012a8592f34ad686aa22da72905ff20baad..fd0d56a5001c13fe4cab0ee337bcbf7ffd41e4b1 100644 --- a/events.php +++ b/events.php @@ -6,7 +6,7 @@ header('Content-Disposition: inline; filename=calendar.ics'); // the iCal date format. Note the Z on the end indicates a UTC timestamp. define('DATE_ICAL', 'Ymd\THis'); -$bdd = new PDO('mysql:host=mysql.iiens.net;dbname=assoce_nightiies', 'assoce_nightiies', 'VwuQREP5JwJQTF5h', array( +$bdd = new PDO('mysql:host=mysql.iiens.net;dbname=assoce_nightiies', 'assoce_nightiies', 'CQX2K3BZctUAvUtz', array( PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING)); // max line length is 75 chars. New line is \\n diff --git a/index.php b/index.php index 02af16e5a042d0727ed4cd8e7351952e7985a81f..7b14634acb3dbfbefb5da5a205a53dbfa685b27a 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ require 'Slim/Slim.php'; \Slim\Slim::registerAutoloader(); $app = new \Slim\Slim(); -$bdd = new PDO('mysql:host=mysql.iiens.net;dbname=assoce_nightiies', 'assoce_nightiies', 'VwuQREP5JwJQTF5h', array( +$bdd = new PDO('mysql:host=mysql.iiens.net;dbname=assoce_nightiies', 'assoce_nightiies', 'CQX2K3BZctUAvUtz', array( PDO::ATTR_ERRMODE => PDO::ERRMODE_WARNING)); $samPics = array('sam1.jpg', 'sam2.jpg', 'sam3.jpg');