Skip to content
This repository was archived by the owner on Oct 30, 2021. It is now read-only.

Commit ae8e334

Browse files
committed
Include mdetect file only if mdetect is enabled
1 parent f9ac6aa commit ae8e334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
// Mobile device detection
19-
if (JFile::exists($mdetectFile)) {
19+
if ($mdetect && JFile::exists($mdetectFile)) {
2020
include_once $mdetectFile;
2121
// Instantiate the mobile object class
2222
$uagent_obj = new uagent_info();

0 commit comments

Comments
 (0)