|
@@ 361-363 (lines=3) @@
|
| 358 |
|
$callback['pageroot'] .= $bits[0] . '/'; |
| 359 |
|
} |
| 360 |
|
|
| 361 |
|
if (isset($bits[1])) { |
| 362 |
|
$callback['context'] = preg_split('/\//', $bits[1], -1, PREG_SPLIT_NO_EMPTY); |
| 363 |
|
} |
| 364 |
|
|
| 365 |
|
$callback['driver_location'] = EXTENSIONS . '/' . $extension_name . '/content/content.' . $callback['driver'] . '.php'; |
| 366 |
|
// Extensions won't be part of the autoloader chain, so first try to require them if they are available. |
|
@@ 408-410 (lines=3) @@
|
| 405 |
|
$page->parseContext($callback['context'], $bits); |
| 406 |
|
|
| 407 |
|
// Default context |
| 408 |
|
} elseif (isset($bits[2])) { |
| 409 |
|
$callback['context'] = preg_split('/\//', $bits[2], -1, PREG_SPLIT_NO_EMPTY); |
| 410 |
|
} |
| 411 |
|
} |
| 412 |
|
|
| 413 |
|
/** |