Skip to content

Commit

Permalink
drop install.php and do it on each call, feels more safe.
Browse files Browse the repository at this point in the history
  • Loading branch information
ariselseng committed Apr 3, 2018
1 parent f450e46 commit 2b18a1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions appinfo/install.php

This file was deleted.

3 changes: 3 additions & 0 deletions lib/RawPreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ public function __construct() {
//fallback to static vendored perl
if (empty($perl_bin) && substr(php_uname("m"), 0, 3) === 'x86') {
$perl_bin = realpath(__DIR__ . '/../bin/staticperl');
if (!is_executable($perl_bin) && is_writable($perl_bin)) {
chmod($perl_bin, 0744);
}
}

$this->converter = $perl_bin . ' ' . realpath(__DIR__ . '/../vendor/jmoati/exiftool-bin/exiftool');
Expand Down

0 comments on commit 2b18a1d

Please sign in to comment.