Update test_hash_algorithms.php

Running: php test_hash_algorithms.php Anchorman.2.The.Legend.Continues.2013.UNRATED.WEBRip.x264-FLS false true results in ->

[24-Feb-2019 09:58:34 Europe/Amsterdam] PHP Fatal error:  Uncaught Error: Class 'Illuminate\Support\Facades\File' not found in /home/public_html/nntmux/misc/testing/Dev/test_hash_algorithms.php:65
Stack trace:
#0 /home/public_html/nntmux/misc/testing/Dev/test_hash_algorithms.php(54): HashAlgorithms->_testStrings()
#1 /home/public_html/nntmux/misc/testing/Dev/test_hash_algorithms.php(192): HashAlgorithms->__construct('Anchorman.2.The...', 'false', true)
#2 {main}
  thrown in /home/public_html/nntmux/misc/testing/Dev/test_hash_algorithms.php on line 65

Adding: require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php'; solves this problem
This commit is contained in:
Sweepr
2019-02-24 10:02:28 +01:00
committed by GitHub
parent bb35d86a3e
commit 5d505a5062
@@ -1,4 +1,5 @@
<?php
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
use Illuminate\Support\Facades\File;