set include_path instead using an absolute path to include autoload.php.

This works in the devel enviroment and the installed SeedDMS
This commit is contained in:
Uwe Steinmann 2025-11-14 09:29:51 +01:00
parent bf28ffa215
commit b42fdb44c6

View File

@ -1,8 +1,8 @@
#!/usr/bin/env php
<?php
// application.php
require __DIR__.'/../vendor/autoload.php';
ini_set('include_path', __DIR__.'/../' . PATH_SEPARATOR . ini_get('include_path'));
ini_set('include_path', __DIR__.'/../../' . PATH_SEPARATOR . ini_get('include_path'));
require 'vendor/autoload.php';
require_once('Log.php');
require_once('inc/inc.Utils.php');