summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 01:45:05 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 01:45:05 +0000
commit98c4a922621fd2df37a1204c09b06594f20536ea (patch)
tree696b8235e2cf316d6e3e1e39fba6d0c10b1bf148 /lib
parent9cfb075df5c8fcd0f83f019dee67fa907dae6265 (diff)
downloadampache-98c4a922621fd2df37a1204c09b06594f20536ea.tar.gz
ampache-98c4a922621fd2df37a1204c09b06594f20536ea.tar.bz2
ampache-98c4a922621fd2df37a1204c09b06594f20536ea.zip
initial commit for 3.3.3-alpha2
Diffstat (limited to 'lib')
-rw-r--r--lib/class/stats.class.php4
-rw-r--r--lib/init.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/class/stats.class.php b/lib/class/stats.class.php
index 057d2534..004e7b46 100644
--- a/lib/class/stats.class.php
+++ b/lib/class/stats.class.php
@@ -61,6 +61,10 @@ class Stats {
" VALUES ('$type','$oid','$date','$user')";
$db_results = mysql_query($sql,dbh());
+ if (!$db_results) {
+ debug_event('statistics','Unabled to insert statistics:' . $sql,'3');
+ }
+
} // insert
/**
diff --git a/lib/init.php b/lib/init.php
index dc6f79d3..ae4cabbd 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -73,7 +73,7 @@ if (!$results = read_config($configfile,0)) {
}
/** This is the version.... fluf nothing more... **/
-$results['version'] = '3.3.3-Alpha1';
+$results['version'] = '3.3.3-Alpha2 Build (001)';
$results['raw_web_path'] = $results['web_path'];
$results['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['web_path'];