1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02: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. * The name of the library to detect/load.
* *
* @return array|boolean * @return array|boolean
* - In case of 'detect': An associative array of the library information. * - In case of 'detect': An associative array containing registered information for the library specified by
* - In case of 'load': An associative array containing registered information for the library specified by $name, * $name, or FALSE if the library $name is not registered.
* 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) public static function library($action, $library)
{ {

View File

@@ -1042,7 +1042,7 @@ class e_library_manager
'cols' => 200, 'cols' => 200,
); );
$file = e_ROOT . $library['library path'] . '/' . $options['file']; $file = $library['library path'] . '/' . $options['file'];
if(empty($options['file']) || !file_exists($file)) if(empty($options['file']) || !file_exists($file))
{ {
return; return;