|
@@ 1584-1588 (lines=5) @@
|
| 1581 |
|
$ARConfig->libraries[$this->path]=array(); |
| 1582 |
|
} |
| 1583 |
|
array_unshift($ARConfig->libraries[$this->path],$path); |
| 1584 |
|
if (!$ARConfig->cacheableLibraries[$this->path]) { |
| 1585 |
|
$ARConfig->cacheableLibraries[$this->path] = array($path); |
| 1586 |
|
} else { |
| 1587 |
|
array_unshift($ARConfig->cacheableLibraries[$this->path], $path); |
| 1588 |
|
} |
| 1589 |
|
} |
| 1590 |
|
} else if ($name && is_string($name)) { |
| 1591 |
|
if (!$ARConfig->cache[$this->path]) { |
|
@@ 1603-1607 (lines=5) @@
|
| 1600 |
|
$this->loadConfig($this->path); |
| 1601 |
|
} |
| 1602 |
|
$ARConfig->libraries[$this->path][$name]=$path; |
| 1603 |
|
if (!$ARConfig->cacheableLibraries[$this->path]) { |
| 1604 |
|
$ARConfig->cacheableLibraries[$this->path] = array($name => $path); |
| 1605 |
|
} else { |
| 1606 |
|
$ARConfig->cacheableLibraries[$this->path][$name] = $path; |
| 1607 |
|
} |
| 1608 |
|
// make sure that unnamed libraries don't get added to the configcache |
| 1609 |
|
unset($ARConfig->cache[$this->path]->libraries[$name]); |
| 1610 |
|
unset($ARConfig->pinpcache[$this->path]["library"][$name]); |