dispatcher.phpを変更すれば

2010年5月24日 at 21:17

/concrete/dispatcher.phpの157行目付近でページのパーミッション関係を処理しているので、

## Now that we have a collections and permissions object, we check to make sure
## everything is okay with collections and permissions

if ($cp->isError()) {
// if we've gotten an error getting information about this particular collection
// than we load up the Content class, and get prepared to fire away

switch($cp->getError()) {
case COLLECTION_FORBIDDEN:
$v = View::getInstance();
$v->setCollectionObject($c);
$v->render('/page_forbidden');
break;
}
}




## Now that we have a collections and permissions object, we check to make sure
## everything is okay with collections and permissions

if ($cp->isError()) {
// if we've gotten an error getting information about this particular collection
// than we load up the Content class, and get prepared to fire away

switch($cp->getError()) {
case COLLECTION_FORBIDDEN:
$v = View::getInstance();
$v->setCollectionObject($c);
$v->render('/page_not_found');
break;
}
}


にすればイケそうな気がします。