mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-13 21:06:43 +00:00
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:
parent
bf28ffa215
commit
b42fdb44c6
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user