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 //--------------------------------------------------------