Skip to content

Commit

Permalink
Fix build scripts paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kasatkin authored and dimasites committed Apr 30, 2023
1 parent 0e4b7a5 commit e555158
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _build/build.model.php → _build/minishop2/build.model.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
}

// Define sources
$root = dirname(__FILE__, 2) . '/';
$root = dirname(__FILE__, 3) . '/';
$sources = [
'root' => $root,
'build' => $root . '_build/',
'build' => $root . '_build/' . PKG_NAME_LOWER . '/',
'source_core' => $root . 'core/components/' . PKG_NAME_LOWER,
'model' => $root . 'core/components/' . PKG_NAME_LOWER . '/model/',
'schema' => $root . 'core/components/' . PKG_NAME_LOWER . '/model/schema/',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
}

// Define sources
$root = dirname(__FILE__, 2) . '/';
$root = dirname(__FILE__, 3) . '/';

$sources = [
'root' => $root,
'build' => $root . '_build/',
'data' => $root . '_build/data/',
'resolvers' => $root . '_build/resolvers/',
'build' => $root . '_build/' . PKG_NAME_LOWER . '/',
'data' => $root . '_build/' . PKG_NAME_LOWER . '/data/',
'resolvers' => $root . '_build/' . PKG_NAME_LOWER . '/resolvers/',
'chunks' => $root . 'core/components/' . PKG_NAME_LOWER . '/elements/chunks/',
'snippets' => $root . 'core/components/' . PKG_NAME_LOWER . '/elements/snippets/',
'plugins' => $root . 'core/components/' . PKG_NAME_LOWER . '/elements/plugins/',
Expand Down Expand Up @@ -308,3 +309,4 @@
if (!empty($_GET['download'])) {
echo '<script>document.location.href = "/core/packages/' . $signature . '.transport.zip' . '";</script>';
}

0 comments on commit e555158

Please sign in to comment.