Added discrete users online in footer (from Wish List Forum) (New rerun)
[fa-stable.git] / admin / db / company_db.inc
index 6baa143da9eaae9090bf051f8fa9940752415393..77780a60a268ad7c827b95791e849f72fe2aca47 100644 (file)
@@ -181,5 +181,16 @@ function get_base_sales_type()
        return $myrow[0];
 }
 
+function get_company_extensions($id = -1) {
+       global $path_to_root;
+
+       $file = $path_to_root.($id == -1 ? '' : '/company/'.$id).'/installed_extensions.php';
+       $installed_extensions = array();
+       if (is_file($file)) {
+               include($file);
+       }
+       return $installed_extensions;
+}
+
 
 ?>
\ No newline at end of file