Skip to content

Commit 03daecd

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 923d1d3 + 2dcb59d commit 03daecd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/config/version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
return array (
3-
'app_version' => 'v2.0-171',
4-
'hash_version' => 'v2.0-171-ga7ea98a',
3+
'app_version' => 'v2.0-175',
4+
'hash_version' => 'v2.0-175-gd0aab3e',
55
);

app/controllers/admin/AssetsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ public function getProcessImportFile($filename) {
708708
// php artisan asset-import:csv path/to/your/file.csv --domain=yourdomain.com --email_format=firstname.lastname
709709

710710
$output = new BufferedOutput;
711-
Artisan::call('asset-import:csv', ['filename'=> app_path().'/private_uploads/imports/assets/'.$filename, '--domain'=>'snipe.net', '--email_format'=>'firstname.lastname'], $output);
711+
Artisan::call('asset-import:csv', ['filename'=> app_path().'/private_uploads/imports/assets/'.$filename, '--email_format'=>'firstname.lastname', '--username_format'=>'firstname.lastname'], $output);
712712
$display_output = $output->fetch();
713713
$file = app_path().'/private_uploads/imports/assets/'.str_replace('.csv','',$filename).'-output-'.date("Y-m-d-his").'.txt';
714714
file_put_contents($file, $display_output);

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ if [[ $distro == "u" ]]; then
104104

105105
#We already established MySQL root & user PWs, so we dont need to be prompted. Let's go ahead and install Apache, PHP and MySQL.
106106
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y lamp-server^
107-
sudo apt-get install -y php5 php5-mcrypt php5-curl php5-mysql
107+
sudo apt-get install -y php5 php5-mcrypt php5-curl php5-mysql php-gd
108108

109109
#Create MySQL accounts
110110
echo "Create MySQL accounts"

0 commit comments

Comments
 (0)