You are here

public function OSMTemplate::setCSSDir in MediaFront 7

Same name and namespace in other branches
  1. 6.2 players/osmplayer/player/OSMTemplate.php \OSMTemplate::setCSSDir()
  2. 6 players/osmplayer/player/OSMTemplate.php \OSMTemplate::setCSSDir()

Set the CSS directory for this media player.

File

players/osmplayer/player/OSMTemplate.php, line 157

Class

OSMTemplate
Copyright (c) 2010 Alethia Inc, http://www.alethia-inc.com Developed by Travis Tidwell | travist at alethia-inc.com

Code

public function setCSSDir($dir) {

  // We only want to set this if we are using themeroller since
  // this directory can change to a cached directory when the
  // themeroller file is created.
  if ($this->settings['generateCSS']) {
    $this->css_dir = $dir;
  }
}