Browse Source

use vendor/ namespace loader for ImageHash instead of manual require()

Andrew Dolgov 5 months ago
parent
commit
deb1dc0175

+ 0 - 4
init.php

@@ -1,8 +1,4 @@
 <?php
-require_once "imagehash/ImageHash.php";
-require_once "imagehash/Implementation.php";
-require_once "imagehash/Implementations/PerceptualHash.php";
-
 use Jenssegers\ImageHash\Implementations\PerceptualHash;
 use Jenssegers\ImageHash\ImageHash;
 

imagehash/ImageHash.php → vendor/Jenssegers/ImageHash/ImageHash.php


imagehash/Implementation.php → vendor/Jenssegers/ImageHash/Implementation.php


imagehash/Implementations/AverageHash.php → vendor/Jenssegers/ImageHash/Implementations/AverageHash.php


imagehash/Implementations/DifferenceHash.php → vendor/Jenssegers/ImageHash/Implementations/DifferenceHash.php


imagehash/Implementations/PerceptualHash.php → vendor/Jenssegers/ImageHash/Implementations/PerceptualHash.php