Skip to content

Commit 67f686c

Browse files
committed
ignore development files on production env
Signed-off-by: MarioRadu <magda_marior@yahoo.com>
1 parent a1671b8 commit 67f686c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/composer-post-install-script.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ function getEnvironment(): string
5353

5454
chdir(dirname(__DIR__));
5555

56-
echo __DIR__ . \Laminas\DevelopmentMode\Status::DEVEL_CONFIG . PHP_EOL;
56+
echo __DIR__ . DIRECTORY_SEPARATOR . \Laminas\DevelopmentMode\Status::DEVEL_CONFIG . PHP_EOL;
57+
echo __DIR__ . DIRECTORY_SEPARATOR . \Laminas\DevelopmentMode\Status::DEVEL_CONFIG . '.dist'. PHP_EOL;
5758

58-
//echo realpath(__DIR__ . )
59+
echo realpath(__DIR__ . DIRECTORY_SEPARATOR . \Laminas\DevelopmentMode\Status::DEVEL_CONFIG . '.dist');
5960

6061
echo "Using environment setting: " . getEnvironment() . PHP_EOL;
6162

0 commit comments

Comments
 (0)