[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/17: Use Dossier::connect
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/17: Use Dossier::connect |
Date: |
Fri, 02 Oct 2015 10:22:18 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit bca89e27654b5f6899dc95d90caf2f2611f6e307
Author: Dany De Bontridder <address@hidden>
Date: Tue Sep 15 11:32:04 2015 +0200
Use Dossier::connect
---
html/ajax.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/html/ajax.php b/html/ajax.php
index 9fa9e81..9bee61f 100644
--- a/html/ajax.php
+++ b/html/ajax.php
@@ -22,7 +22,7 @@ require_once NOALYSS_INCLUDE.'/class/class_own.php';
mb_internal_encoding("UTF-8");
global $g_user,$cn,$g_parameter;
-$cn=new Database(dossier::id());
+$cn=Dossier::connect();
$g_parameter=new Own($cn);
$g_user=new User($cn);
$g_user->check(true);
- [Noalyss-commit] [noalyss] 06/17: Use error_log with exception to log getTraceAsString, (continued)
- [Noalyss-commit] [noalyss] 06/17: Use error_log with exception to log getTraceAsString, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 13/17: Fix problem in Bilan Belge, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 02/17: restructure files and folders, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 08/17: Cut at the 80th column, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 12/17: Fix problem in Bilan Belge, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 14/17: Fix problem in Bilan Belge, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 15/17: Translate, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 10/17: Security : clean cookie and global variables when logging out, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 07/17: Dossier:connect : database singleton Indentation Add error_log to catch block, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 16/17: restructure : move export file to include/export, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 09/17: Use Dossier::connect,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 17/17: Merge branch 'rel69_rewrite', Dany De Bontridder, 2015/10/08