Merge pull request #4493 from devansh-webkul/temp-fix

Manual Require Added Till Merging Of Autoloading Fix #4420
This commit is contained in:
Glenn Hermans 2021-01-18 10:59:48 +01:00 committed by GitHub
commit 2b276acd55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -156,7 +156,10 @@ class InvoiceController extends Controller
*/
private function adjustArabicAndPersianContent($html)
{
$arabic = new \ArPHP\I18N\Arabic();
/* temporary require */
require_once base_path('vendor/khaled.alshamaa/ar-php/src/arabic.php');
$arabic = new \ArPHP\I18N\arabic();
$p = $arabic->arIdentify($html);