So I need to include a library for my code to work, the following is what gave me the error
require_once "libs\MobileDetect\Mobile_Detect.php";
On my localhost with XAMPP it included the file fine. The libs directory is in the same directory where I am requiring it, but when I uploaded it to GoDaddy Cpanel it keeps giving me this error. I checked around but nothing on the other questions was able to fix my problem.
Here is the error message I got in my error log on cpanel.
[25-Jun-2018 22:14:53 UTC] PHP Warning: require_once(libs\MobileDetect\Mobile_Detect.php): failed to open stream: No such file or directory in /home/h0934rvnurko/public_html/CMQR/redirectmobile.php on line 9
[25-Jun-2018 22:14:53 UTC] PHP Fatal error: require_once(): Failed opening required 'libs\MobileDetect\Mobile_Detect.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/h0934rvnurko/public_html/CMQR/redirectmobile.php on line 9