Skip to content

Commit

Permalink
updated pel to 0.9.9
Browse files Browse the repository at this point in the history
Moved to composer for pel dependency and updated to pel 0.9.9.
  • Loading branch information
nosilver4u committed Jan 19, 2022
1 parent f137804 commit 52c554d
Show file tree
Hide file tree
Showing 178 changed files with 25,282 additions and 18 deletions.
4 changes: 3 additions & 1 deletion common.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
}

// Used for manipulating exif info.
require_once( EWWW_IMAGE_OPTIMIZER_PLUGIN_PATH . 'vendor/pel/autoload.php' );
if ( ! class_exists( '\lsolesen\pel\PelJpeg' ) ) {
require_once( EWWW_IMAGE_OPTIMIZER_PLUGIN_PATH . 'vendor/autoload.php' );
}
use lsolesen\pel\PelJpeg;
use lsolesen\pel\PelTag;

Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"lsolesen/pel": "0.9.9"
}
}
78 changes: 78 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitba6324246c1d906b530ebcb60468d7b9::getLoader();
Loading

0 comments on commit 52c554d

Please sign in to comment.