Procházet zdrojové kódy

#132 - new folder for LESS compiler

Alex Trofimov před 11 roky
rodič
revize
2f4dbaa4a3

+ 2 - 2
inc/classes/BxDolTemplate.php

@@ -1427,7 +1427,7 @@ class BxDolTemplate extends BxDol implements iBxDolSingleton
      */
     function _lessCss($mixed)
     {
-    	require_once(BX_DIRECTORY_PATH_PLUGINS . 'less.php/Less.php');
+    	require_once(BX_DIRECTORY_PATH_PLUGINS . 'lessphp/Less.php');
 
         if(is_array($mixed) && isset($mixed['url']) && isset($mixed['path'])) {
             $sPathFile = realpath($mixed['path']);
@@ -1435,7 +1435,7 @@ class BxDolTemplate extends BxDol implements iBxDolSingleton
             if (!isset($aInfoFile['extension']) || $aInfoFile['extension'] != 'less')
                 return $mixed;
 
-            require_once(BX_DIRECTORY_PATH_PLUGINS . 'less.php/Cache.php');
+            require_once(BX_DIRECTORY_PATH_PLUGINS . 'lessphp/Cache.php');
         	$aFiles = array($mixed['path'] => $mixed['url']);
         	$aOptions = array('cache_dir' => $this->_sCachePublicFolderPath);
         	$sFile = Less_Cache::Get($aFiles, $aOptions, $this->_oConfigTemplate->aLessConfig);

+ 1 - 1
install/classes/BxDolInstallView.php

@@ -93,7 +93,7 @@ class BxDolInstallView
 
     protected function _getInlineCSS()
     {
-        require_once($this->_sDirPlugins . 'less.php/Less.php');
+        require_once($this->_sDirPlugins . 'lessphp/Less.php');
         $oLessParser = new Less_Parser();
 
         $oConfigBase = new BxBaseConfig();

+ 0 - 0
plugins/less.php/Cache.php → plugins/lessphp/Cache.php


+ 0 - 0
plugins/less.php/Less.php → plugins/lessphp/Less.php


+ 0 - 0
plugins/less.php/Version.php → plugins/lessphp/Version.php


+ 3 - 1
upgrade/files/8.0.0.A9-8.0.0.A10/files_delete.php

@@ -9,6 +9,8 @@ $aFilesDelete = array(
     'studio/template/register.html',
     'template/scripts/BxBaseCmtsMenu.php',
     'template/bx_div.html',
-    'template/bx_span.html',    
+    'template/bx_span.html',
+    'plugins/lessphp/LICENSE',
+    'plugins/lessphp/lessc.inc.php',
 );