I have tested many times Which browser and read instructions. It seems there are missing points at main app page:
https://github.com/WhichBrowser/WhichBrowser
Author: Niels Leenheer
I have checked again and a little bit confused as this is the first time.
- It will be under public_html
- Cron job will update with instructions: php composer.phar update
- I need to install files even it is installed by Composer
- Path/Line within .htaccess is
Alias /whichbrowser /app/vendor/whichbrowser/whichbrowser - Files should be uploaded inside folder public_html even Composer installation:
app/vendor/whichbrowser/whichbrowser/index.php - Placed a snippet of code on all webpages
- Set WhichBrowser object as init function as enclosed file WhichBrowser1.js
- How to query the object according to needs only inside particular webpages: Browsers.browser.name? Need example of this query.
Need help as there is confusion how to use Composer or upload files and path inside .htaccess
Cron job message:
Status: 404 Not Found
Content-type: text/html