DungeonMaster Posted June 20, 2013 Posted June 20, 2013 Can this be localized so there isn't any loading from a third party site? is this just for the ajax modules or is it critical to the other parts of the site? Quote
a_bertrand Posted June 21, 2013 Posted June 21, 2013 If you edit your config/config.php file you can define where the jQuery lib is loaded. Mind you it's not a google api, it's jQuery: $jQueryLib = "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"; Put the file on your server and change this to point to your new URL. However honestly I would think it's a bad idea. Why? Because if your players browse a bit around, they will quiet certainly encounter jQuery more than once, and that will allow the browser to cache it. Also, why not offload some of your load to google? Quote
DungeonMaster Posted June 21, 2013 Author Posted June 21, 2013 If someone is blocking google for security reasons then this will not usable.However I need to know this: is this just for the ajax modules or is it critical to the other parts of the site? Quote
a_bertrand Posted June 21, 2013 Posted June 21, 2013 I cannot answer you because I don't know who uses is beside myself. I can tell you many areas of the game do uses it. Just search for the Ajax::IncludeLib() in the files and you should know where it is used. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.