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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user