aboutsummaryrefslogtreecommitdiffstats
path: root/action.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2007-02-20 23:40:02 +0000
committerplegall <plg@piwigo.org>2007-02-20 23:40:02 +0000
commit3b46143435b528684d52772039540273bbcea52b (patch)
tree69c0319a2dc150ba6a4aabd9178f3eb4c47b4e10 /action.php
parented97ed33d37db4f1196c48d51c1c7f8cbe8cb9ce (diff)
New: non picture files are now logged in history when downloaded. The
history filter was redesigned: #history.is_high replaced by #history.image_type = high. The filter is simpler. git-svn-id: http://piwigo.org/svn/trunk@1844 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--action.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/action.php b/action.php
index 73ac6d72b..29f9fac38 100644
--- a/action.php
+++ b/action.php
@@ -127,8 +127,11 @@ if ( empty($file) )
}
if ($_GET['part'] == 'h') {
- $is_high = true;
- pwg_log($_GET['id'], $is_high);
+ pwg_log($_GET['id'], 'high');
+}
+else if ($_GET['part'] == 'e')
+{
+ pwg_log($_GET['id'], 'other');
}
$http_headers = array();