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