mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fixed: phpdoc and library path.
This commit is contained in:
parent
b47644cee7
commit
97c23a48d9
@ -1664,9 +1664,9 @@ class e107
|
||||
* The name of the library to detect/load.
|
||||
*
|
||||
* @return array|boolean
|
||||
* - In case of 'detect': An associative array of the library information.
|
||||
* - In case of 'load': An associative array containing registered information for the library specified by $name,
|
||||
* or FALSE if the library $name is not registered.
|
||||
* - In case of 'detect': An associative array containing registered information for the library specified by
|
||||
* $name, or FALSE if the library $name is not registered.
|
||||
* - In case of 'load': An associative array of the library information.
|
||||
*/
|
||||
public static function library($action, $library)
|
||||
{
|
||||
|
@ -1042,7 +1042,7 @@ class e_library_manager
|
||||
'cols' => 200,
|
||||
);
|
||||
|
||||
$file = e_ROOT . $library['library path'] . '/' . $options['file'];
|
||||
$file = $library['library path'] . '/' . $options['file'];
|
||||
if(empty($options['file']) || !file_exists($file))
|
||||
{
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user