Index: getid3.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/getid3/getid3.install,v
retrieving revision 1.5
diff -u -p -r1.5 getid3.install
--- getid3.install      10 Jun 2008 04:26:55 -0000      1.5
+++ getid3.install      25 Sep 2008 13:56:22 -0000
@@ -14,9 +14,9 @@ function getid3_requirements($phase) {
 
     if (getid3_load(FALSE)) {
       $requirements['getid3']['value'] = check_plain(getid3_get_version());
-      if (file_exists($getid3_path .'/demos')) {
+      if (file_exists(getid3_get_path() .'/../demos')) {
         $requirements['getid3']['description'] = $t("Your getID3 library is insecure. The demos distributed with getID3 contain code which can create a security holes. Please remove the demos directory (%path).", array('%path' => $getid3_path .'/demos'));
-        $requirements['getid3']['severity'] = REQUIREMENT_WARNING; 
+        $requirements['getid3']['severity'] = REQUIREMENT_ERROR; 
       }
     }
     else {
