summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 00:51:53 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 00:51:53 +0000
commit9cfb075df5c8fcd0f83f019dee67fa907dae6265 (patch)
treed4cbb031a0534715d9caec54c27945e234c7aea1 /play/index.php
parent5038eb20d7322af95d1fef7035f6d533b49c25a6 (diff)
downloadampache-9cfb075df5c8fcd0f83f019dee67fa907dae6265.tar.gz
ampache-9cfb075df5c8fcd0f83f019dee67fa907dae6265.tar.bz2
ampache-9cfb075df5c8fcd0f83f019dee67fa907dae6265.zip
3.3.1-Alpha1 release
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 9878af0b..dde92d05 100644
--- a/play/index.php
+++ b/play/index.php
@@ -195,6 +195,9 @@ header("Accept-Ranges: bytes" );
// Prevent the script from timing out
set_time_limit(0);
+/* We're about to start record this persons IP */
+$user->insert_ip_history();
+
/* If access control is on and they aren't local, downsample! */
if (conf('access_control') AND conf('downsample_remote')) {
if (!$access->check('network',$_SERVER['REMOTE_ADDR'],$GLOBALS['user']->username,'25')) {