From 0b5d6e55ed5ce8b0fcf1c9805a761b731f54ca83 Mon Sep 17 00:00:00 2001 From: Andras Elso Date: Fri, 3 Apr 2015 11:30:51 +0200 Subject: [PATCH] Allow configure image path for boxed-bg.jpg --- build/less/core.less | 2 +- build/less/variables.less | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build/less/core.less b/build/less/core.less index 44cf41269..6910f3204 100644 --- a/build/less/core.less +++ b/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; } /* diff --git a/build/less/variables.less b/build/less/variables.less index c9a02707c..1c72ecb0a 100644 --- a/build/less/variables.less +++ b/build/less/variables.less @@ -1,6 +1,11 @@ //AdminLTE 2 Variables.less //========================= +//PATHS +//-------------------------------------------------------- + +@image-path: "../img"; + //COLORS //--------------------------------------------------------