Elgg  Version master
Variables
autoloader.php File Reference

Go to the source code of this file.

Variables

 $paths
 We handle here two possible locations of composer-generated autoload file. More...
 
 foreach ( $paths as $path) = elgg_format_element('tbody', [], implode(PHP_EOL, $rows))
 

Variable Documentation

◆ $paths

$paths
Initial value:
= [
__DIR__ . '/vendor/autoload.php',
__DIR__ . '/../../../vendor/autoload.php',
]

We handle here two possible locations of composer-generated autoload file.

One is directly in Elgg directory when not using as dependency, other is in the main project dir, parent to this one.

Definition at line 7 of file autoloader.php.

◆ foreach

foreach (   $paths as) = elgg_format_element('tbody', [], implode(PHP_EOL, $rows))

Definition at line 12 of file autoloader.php.