Skip to content

Commit

Permalink
Tambahkan vendor/libreoffice ke .gitignore. Ubah nama folder libreoff…
Browse files Browse the repository at this point in the history
…ice tanpa versi
  • Loading branch information
eddieridwan committed Feb 19, 2021
1 parent 395eab3 commit c8acb71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ version.json
Obfuscator.php
make_obfuscate.php
cache/*
vendor/libreoffice/*

2 changes: 1 addition & 1 deletion donjo-app/models/Surat_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ public function surat_utama($data, &$nama_surat)
elseif ($this->setting->libreoffice_path == '/')
{
// Linux pasang stand-alone LibreOffice
$cmd = "".FCPATH."vendor/libreoffice/opt/libreoffice7.1/program/soffice --headless --norestore --convert-to pdf --outdir ".FCPATH.LOKASI_ARSIP." ".FCPATH.$berkas_arsip;
$cmd = "".FCPATH."vendor/libreoffice/opt/libreoffice/program/soffice --headless --norestore --convert-to pdf --outdir ".FCPATH.LOKASI_ARSIP." ".FCPATH.$berkas_arsip;
}
else
{
Expand Down

0 comments on commit c8acb71

Please sign in to comment.