mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-18 05:36:40 +02:00
Merge pull request #301 from zomberg/fix_ioncube_encrypt_task
[FIX] Removed undefined variable
This commit is contained in:
commit
35d61cc5d4
|
@ -435,7 +435,7 @@ class EncryptTask extends AbstractTask
|
|||
private function checkFileCoding($filename)
|
||||
{
|
||||
// check to see if this is an encrypted file
|
||||
$ioncube = ioncube_read_file($filename, $ioncubeType);
|
||||
$ioncube = ioncube_read_file($filename);
|
||||
if (is_int($ioncube)) {
|
||||
// we got an error from ioncube, so its encrypted
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue