This repository was archived by the owner on Jan 29, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ return array(
4+
5+ /*
6+ |--------------------------------------------------------------------------
7+ | Application URL
8+ |--------------------------------------------------------------------------
9+ |
10+ | This URL is used by the console to properly generate URLs when using
11+ | the Artisan command line tool. You should set this to the root of
12+ | your application so that it is used when running Artisan tasks.
13+ |
14+ */
15+
16+ 'url' => 'http://#HOST#'
17+
18+ );
Original file line number Diff line number Diff line change 179179 </replaceregexp >
180180 </filterchain >
181181 </copy >
182+ <if >
183+ <available file =' app/config/${ env.name } /app.php' type =' file' />
184+ <then >
185+ <delete file =" app/config/${ env.name } /app.php" failonerror =" false" />
186+ </then >
187+ </if >
188+ <copy file =" build/app.txt" tofile =" app/config/${ env.name } /app.php" overwrite =" true" >
189+ <filterchain >
190+ <replaceregexp >
191+ <regexp pattern =" #HOST#" replace =" ${ env.host } " ignoreCase =" false" />
192+ </replaceregexp >
193+ </filterchain >
194+ </copy >
182195 <echo message =" Done." />
183196
184197 <echo message =" Writing environment..." />
You can’t perform that action at this time.
0 commit comments