Skip to content

Commit

Permalink
fix installer
Browse files Browse the repository at this point in the history
  • Loading branch information
supgeek-rod committed Oct 6, 2015
1 parent 9564f81 commit 3a3841b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/InstallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ class InstallController extends Controller
*/
public function __construct()
{
// set maximum execution time
set_time_limit(300);

$this->middleware('installable', ['except' => []]);
}

Expand Down Expand Up @@ -91,10 +88,13 @@ protected function install($request)
{
// Modify env
$dir = base_path();
$ret = true;
/*
$ret = copy(
$dir . '/.env.example',
$dir . '/.env'
);
*/

if ($ret) {
modifyEnv([
Expand Down
2 changes: 2 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ find . -type f -exec chmod 0644 {} +
chmod 0775 .
chmod -R 0775 storage
chmod g+w . bootstrap/cache
cp .env.example .env
chmod g+w .env
zip -r 3n1website-master.zip ./


Expand Down

0 comments on commit 3a3841b

Please sign in to comment.