Skip to content

Commit

Permalink
Dev: deactivate asset linkAssets : issues in windows
Browse files Browse the repository at this point in the history
Dev: commented : user can do it in config.php
  • Loading branch information
Shnoulle committed Dec 5, 2016
1 parent 97c93ec commit b67df82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/LSYii_Application.php
Expand Up @@ -84,7 +84,7 @@ public function __construct($aApplicationConfig = null)
{
$this->setConfig($key, $value);
}
App()->getAssetManager()->linkAssets = true;
/* Don't touch to linkAssets : you can set it in config.php */
// Asset manager path can only be set after App was constructed because it relies on App()
App()->getAssetManager()->setBaseUrl($settings['tempurl']. '/assets');
App()->getAssetManager()->setBasePath($settings['tempdir'] . '/assets');
Expand Down

0 comments on commit b67df82

Please sign in to comment.