Skip to content

Force using offline files

Junaid Atari edited this page Apr 9, 2016 · 2 revisions
/*
  > TRUE will include all of the offline config-files/components/sections/files
     and @cdn tags will be skipped.

  > FALSE will skip all of the offline config-files/components/sections/files
     and will use @cdn.
*/
define('YII2CDN_OFFLINE', true);

Yii::$app->cdn->get('font-awesome')->register();

Note: the red links below are pages yet to be created. Feel free to add them!

Overview documents

  • README: distributed with yii2cdn, contains a quick overview of yii2cdn's functionality, an example, and the license.
  • REFERENCE: Containing incomplete api class reference.

Quick Start

Configuration

Tutorials

Clone this wiki locally