Skip to content

Commit ed2d1ac

Browse files
authored
Merge pull request #73 from LaswitchTech/dev
General: Version bumped to v0.0.73
2 parents 3bf8f1e + f4d4010 commit ed2d1ac

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Helper/CoreHelper.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function init(bool $force = false): bool
249249

250250
// Path to file
251251
$favicon = $webroot . DIRECTORY_SEPARATOR . "favicon.ico";
252-
$icon = ".." . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR . "img". DIRECTORY_SEPARATOR . "favicon.ico";
252+
$icon = $CONFIG->root() . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR . "img". DIRECTORY_SEPARATOR . "favicon.ico";
253253

254254
// Check if the file exist
255255
if($force && is_file($favicon)) {
@@ -270,7 +270,7 @@ public function init(bool $force = false): bool
270270

271271
// Path to directory
272272
$js = $assets . DIRECTORY_SEPARATOR . "js";
273-
$directory = ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR . "js";
273+
$directory = $CONFIG->root() . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR . "js";
274274

275275
// Check if directory exists
276276
if(!is_dir($js) && !is_file($js) && !is_link($js)) {
@@ -284,7 +284,7 @@ public function init(bool $force = false): bool
284284

285285
// Path to directory
286286
$core = $assets . DIRECTORY_SEPARATOR . "core";
287-
$directory = ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "laswitchtech" . DIRECTORY_SEPARATOR . "core" . DIRECTORY_SEPARATOR . "assets";
287+
$directory = $CONFIG->root() . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "laswitchtech" . DIRECTORY_SEPARATOR . "core" . DIRECTORY_SEPARATOR . "assets";
288288

289289
// Check if directory exists
290290
if(!is_dir($core) && !is_file($core) && !is_link($core)) {
@@ -298,7 +298,7 @@ public function init(bool $force = false): bool
298298

299299
// Path to directory
300300
$img = $assets . DIRECTORY_SEPARATOR . "img";
301-
$directory = ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR . "img";
301+
$directory = $CONFIG->root() . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR . "img";
302302

303303
// Check if directory exists
304304
if(!is_dir($img) && !is_file($img) && !is_link($img)) {
@@ -312,7 +312,7 @@ public function init(bool $force = false): bool
312312

313313
// Path to directory
314314
$plugins = $assets . DIRECTORY_SEPARATOR . "plugins";
315-
$lib = ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "lib" . DIRECTORY_SEPARATOR . "plugins";
315+
$lib = $CONFIG->root() . DIRECTORY_SEPARATOR . "lib" . DIRECTORY_SEPARATOR . "plugins";
316316

317317
// Check if directory exists
318318
if(!is_dir($plugins) && !is_file($plugins) && !is_link($plugins)) {
@@ -326,7 +326,7 @@ public function init(bool $force = false): bool
326326

327327
// Path to directory
328328
$themes = $assets . DIRECTORY_SEPARATOR . "themes";
329-
$lib = ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "lib" . DIRECTORY_SEPARATOR . "themes";
329+
$lib = $CONFIG->root() . DIRECTORY_SEPARATOR . "lib" . DIRECTORY_SEPARATOR . "themes";
330330

331331
// Check if directory exists
332332
if(!is_dir($themes) && !is_file($themes) && !is_link($themes)) {

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.0.72
1+
v0.0.73

0 commit comments

Comments
 (0)