Revision 1189
Added by Dietmar over 14 years ago
include.php | ||
---|---|---|
506 | 506 |
|
507 | 507 |
// create an array of all parents of the current page. As the page_trail |
508 | 508 |
// doesn't include the theoretical root element 0, we add it ourselves. |
509 |
$rgCurrParents = preg_split ('[,]', '0,'.$wb->page['page_trail']);
|
|
509 |
$rgCurrParents = explode(",", '0,'.$wb->page['page_trail']);
|
|
510 | 510 |
array_pop($rgCurrParents); // remove the current page |
511 | 511 |
$rgParent = array(); |
512 | 512 |
|
Also available in: Unified diff
fix some PHP 5.3 deprecated functions