Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Core/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct()
'uri' => VILARE_DIST_URI,
],
'resources' => [
'path' => VILARE_PATH . '/resources',
'path' => VILARE_PATH,
],
'views' => [
'path' => VILARE_PATH . '/resources/views',
Expand Down
6 changes: 2 additions & 4 deletions resources/functions.php → functions.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<?php // phpcs:ignore PSR1.Files.SideEffects.FoundWithSymbols

define('VILARE_VERSION', '0.1.4');
define('VILARE_ROOT', str_replace(ABSPATH, '/', dirname(__DIR__, 1)));
define('VILARE_PATH', dirname(__DIR__, 1));
define('VILARE_ROOT', str_replace(ABSPATH, '/', __DIR__));
define('VILARE_PATH', __DIR__);
define('VILARE_URI', site_url(VILARE_ROOT));
define('VILARE_HMR_HOST', 'http://localhost:5173');
define('VILARE_HMR_URI', VILARE_HMR_HOST . VILARE_ROOT);
define('VILARE_DIST_PATH', VILARE_PATH . '/dist');
define('VILARE_DIST_URI', VILARE_URI . '/dist');

require_once VILARE_PATH . '/inc/bootstrap.php';
File renamed without changes.
File renamed without changes
File renamed without changes.