Browse Source

Merge pull request #320 from Elbandi/master

Allow configure image path for boxed-bg.jpg
Abdullah Almsaeed 10 years ago
parent
commit
a056fbf5b2
2 changed files with 6 additions and 1 deletions
  1. 1 1
      build/less/core.less
  2. 5 0
      build/less/variables.less

+ 1 - 1
build/less/core.less

@@ -35,7 +35,7 @@ body {
 }
 
 .layout-boxed {
-  background: url('../img/boxed-bg.jpg') repeat fixed;
+  background: url('@{image-path}/boxed-bg.jpg') repeat fixed;
 }
 
 /*

+ 5 - 0
build/less/variables.less

@@ -1,6 +1,11 @@
 //AdminLTE 2 Variables.less
 //=========================
 
+//PATHS
+//--------------------------------------------------------
+
+@image-path: "../img";
+
 //COLORS
 //--------------------------------------------------------