opengbu / gbuonline

GBU Online
5 stars 6 forks source link

CDN, is now operational, please check your links #29

Closed Varun-garg closed 9 years ago

Varun-garg commented 9 years ago

In my last commit I have updated cdn repo, and changed all urls using resources directory to that one. Please check if any urls are left, and replace

 base_url("resources/ ...."); // pointing to resources folder

to

 $this->cdn->res_url('resources/ .....); // new cdn path

Cdn path is flexible, in case you want to run the site in purely offline mode (without cdn), go to application/models/Cdn_model.php, and change

define('CDN_MODE', 'ONLINE');

to

define('CDN_MODE', 'OFFLINE');

And from now on, while making changes to resources folder, also update the same files in cdn repsitory.