@@ 1579-1583 (lines=5) @@ | ||
1576 | $ARConfig->libraries[$this->path]=array(); |
|
1577 | } |
|
1578 | array_unshift($ARConfig->libraries[$this->path],$path); |
|
1579 | if (!$ARConfig->cacheableLibraries[$this->path]) { |
|
1580 | $ARConfig->cacheableLibraries[$this->path] = array($path); |
|
1581 | } else { |
|
1582 | array_unshift($ARConfig->cacheableLibraries[$this->path], $path); |
|
1583 | } |
|
1584 | } |
|
1585 | } else if ($name && is_string($name)) { |
|
1586 | if (!$ARConfig->cache[$this->path]) { |
|
@@ 1598-1602 (lines=5) @@ | ||
1595 | $this->loadConfig($this->path); |
|
1596 | } |
|
1597 | $ARConfig->libraries[$this->path][$name]=$path; |
|
1598 | if (!$ARConfig->cacheableLibraries[$this->path]) { |
|
1599 | $ARConfig->cacheableLibraries[$this->path] = array($name => $path); |
|
1600 | } else { |
|
1601 | $ARConfig->cacheableLibraries[$this->path][$name] = $path; |
|
1602 | } |
|
1603 | // make sure that unnamed libraries don't get added to the configcache |
|
1604 | unset($ARConfig->cache[$this->path]->libraries[$name]); |
|
1605 | unset($ARConfig->pinpcache[$this->path]["library"][$name]); |