File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ public function getPreferencedelete($preferenceId)
711
711
712
712
public function getTheme ()
713
713
{
714
- $ masterLess = public_path () .'/css/master3 /master.less ' ;
714
+ $ masterLess = base_path () .'/vendor/syntax/core/public/less /master.less ' ;
715
715
716
716
$ lines = file ($ masterLess );
717
717
@@ -733,8 +733,8 @@ public function postTheme()
733
733
$ input = e_array (Input::all ());
734
734
735
735
if ($ input != null ) {
736
- $ masterLess = public_path () .'/css/master3 /master.less ' ;
737
- $ masterCss = public_path () .'/css/master3 /master.css ' ;#5097b5
736
+ $ masterLess = base_path () .'/vendor/syntax/core/public/less /master.less ' ;
737
+ $ masterCss = base_path () .'/vendor/syntax/core/public/css /master.css ' ;#5097b5
738
738
739
739
$ lines = file ($ masterLess );
740
740
Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ public function postCropAvatar()
178
178
179
179
public function getChangeTheme ()
180
180
{
181
- $ lessTemplate = public_path () .'/css/master3 /template.less ' ;
182
- $ userLess = public_path () .'/css/master3/ users/ ' . Str::studly ($ this ->activeUser ->username ) .'_css.less ' ;
181
+ $ lessTemplate = base_path () .'/vendor/syntax/core/public/less /template.less ' ;
182
+ $ userLess = public_path () .'/css/users/ ' . Str::studly ($ this ->activeUser ->username ) .'_css.less ' ;
183
183
184
184
// Make a copy of the less file
185
185
if (!File::exists ($ userLess )) {
@@ -206,8 +206,8 @@ public function postChangeTheme()
206
206
$ input = e_array (Input::all ());
207
207
208
208
if ($ input != null ) {
209
- $ userLess = public_path () .'/css/master3/ users/ ' . Str::studly ($ this ->activeUser ->username ) .'_css.less ' ;
210
- $ userCss = public_path () .'/css/master3/ users/ ' . Str::studly ($ this ->activeUser ->username ) .'.css ' ;
209
+ $ userLess = public_path () .'/css/users/ ' . Str::studly ($ this ->activeUser ->username ) .'_css.less ' ;
210
+ $ userCss = public_path () .'/css/users/ ' . Str::studly ($ this ->activeUser ->username ) .'.css ' ;
211
211
212
212
$ lines = file ($ userLess );
213
213
@@ -237,7 +237,7 @@ public function postChangeTheme()
237
237
238
238
public function getResetCss ()
239
239
{
240
- $ userLess = public_path () .'/css/master3/ users/ ' . Str::studly ($ this ->activeUser ->username ) .'.css ' ;
240
+ $ userLess = public_path () .'/css/users/ ' . Str::studly ($ this ->activeUser ->username ) .'.css ' ;
241
241
242
242
File::delete ($ userLess );
243
243
You can’t perform that action at this time.
0 commit comments