Minor - Fix comment

1.10.x
jmontoyaa 10 years ago
parent ece4c9d8f2
commit 14749649eb
  1. 4
      main/inc/lib/sessionmanager.lib.php
  2. 2
      main/webservices/lp.php
  3. 1
      main/work/downloadfolder.inc.php

@ -1255,9 +1255,7 @@ class SessionManager
$result = Database::query($sql);
$session = Database::fetch_assoc($result);
//We are not using this becaouse the range its to small and no other date match the condition of this function
//$clicks = Tracking::get_total_clicks($info['user_id'], $courseId, $sessionId, $info['login_course_date'], $info['logout_course_date']);
#building array to display
// building array to display
$return[] = array(
'user_id' => $info['user_id'],
'logindate' => $info['login_course_date'],

@ -45,7 +45,7 @@ function WSHelperVerifyKey($params)
// if we are behind a reverse proxy, assume it will send the
// HTTP_X_FORWARDED_FOR header and use this IP instead
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
list($ip1, $ip2) = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
list($ip1) = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
$ip = trim($ip1);
}
if ($debug)

@ -182,6 +182,7 @@ if (!empty($files)) {
//start download of created file
$name = $fileName .'.zip';
if (Security::check_abs_path($temp_zip_file, api_get_path(SYS_ARCHIVE_PATH))) {
DocumentManager::file_send_for_download($temp_zip_file, true, $name);
@unlink($temp_zip_file);

Loading…
Cancel
Save