diff --git a/build/less/core.less b/build/less/core.less index 79e8e1f39..a9a09a377 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 e6d788a7b..06529abfa 100644 --- a/build/less/variables.less +++ b/build/less/variables.less @@ -1,6 +1,11 @@ //AdminLTE 2 Variables.less //========================= +//PATHS +//-------------------------------------------------------- + +@image-path: "../img"; + //COLORS //--------------------------------------------------------