Ejemplo n.º 1
0
 public function __construct(WPLessConfiguration $configuration)
 {
     parent::__construct($configuration);
     $this->compiler = new WPLessCompiler();
     $this->compiler->setVariable('stylesheet_directory_uri', "'" . get_stylesheet_directory_uri() . "'");
     $this->compiler->setVariable('template_directory_uri', "'" . get_template_directory_uri() . "'");
 }
Ejemplo n.º 2
0
 public function __construct(WPLessConfiguration $configuration)
 {
     parent::__construct($configuration);
 }
Ejemplo n.º 3
0
 public function __construct(WPLessConfiguration $configuration)
 {
     parent::__construct($configuration);
     WPLessStylesheet::$upload_dir = $this->configuration->getUploadDir();
     WPLessStylesheet::$upload_uri = $this->configuration->getUploadUrl();
 }
Ejemplo n.º 4
0
 public function __construct(WPLessConfiguration $configuration)
 {
     parent::__construct($configuration);
     $this->resetCompiler();
 }