projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix link to profile in trombi
[platal.git]
/
classes
/
corelogger.php
diff --git
a/classes/corelogger.php
b/classes/corelogger.php
index
c4b909b
..
e5784c6
100644
(file)
--- a/
classes/corelogger.php
+++ b/
classes/corelogger.php
@@
-22,7
+22,7
@@
class CoreLogger
{
/** user id */
class CoreLogger
{
/** user id */
- p
rivate
$uid;
+ p
ublic
$uid;
/** id of the session */
private $session;
/** list of available actions */
/** id of the session */
private $session;
/** list of available actions */
@@
-34,7
+34,7
@@
class CoreLogger
* @param $suid the id of the administrator who has just su'd to the user
* @return VOID
*/
* @param $suid the id of the administrator who has just su'd to the user
* @return VOID
*/
- public function __construct($uid, $suid =
null
)
+ public function __construct($uid, $suid =
0
)
{
// write the session entry
$this->uid = $uid;
{
// write the session entry
$this->uid = $uid;
@@
-54,7
+54,7
@@
class CoreLogger
* @param $suid the id of the administrator who has just su'd to the user
* @return session the session id
*/
* @param $suid the id of the administrator who has just su'd to the user
* @return session the session id
*/
- private function writeSession($uid, $suid =
null
)
+ private function writeSession($uid, $suid =
0
)
{
$ip = $_SERVER['REMOTE_ADDR'];
$host = strtolower(gethostbyaddr($_SERVER['REMOTE_ADDR']));
{
$ip = $_SERVER['REMOTE_ADDR'];
$host = strtolower(gethostbyaddr($_SERVER['REMOTE_ADDR']));