1
0
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:
Lóna Lore 2016-02-12 14:50:13 +01:00
parent b47644cee7
commit 97c23a48d9
2 changed files with 4 additions and 4 deletions

View File

@ -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)
{

View File

@ -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;