Context |
Code$username = "admin"
$id = "266"
$user = array("User" => array)
$photo = array("Photo" => array, "User" => array)
$is_friend = false
}
elseif($photo['Photo']['privacy'] == array_search('private', Configure::read('Site.privacy')))
{
if($this->user['id'] != $user['User']['id'])
{
PhotosController::show() - CORE/app/controllers/photos_controller.php, line 86
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
require - CORE/app/webroot/index.php, line 85
[main] - CORE/index.php, line 63
Context |
Code$this = array("name" => "Photos", "uses" => array, "paginate" => array, "helpers" => array, "components" => array, "here" => "/index.php/photos/show/admin/266", "webroot" => "/app/webroot/", "action" => "show", "params" => array, "data" => null, "viewPath" => "photos", "layoutPath" => null, "viewVars" => array, "pageTitle" => false, "modelNames" => array, "base" => "/index.php", "layout" => "default", "autoRender" => false, "autoLayout" => true, "view" => "View", "ext" => ".ctp", "__viewClass" => null, "output" => null, "plugin" => null, "cacheAction" => false, "persistModel" => false, "webservices" => null, "passedArgs" => array, "_log" => null, "modelClass" => "User", "modelKey" => "photo", "Cookie" => array, "RequestHandler" => array, "Session" => array, "User" => array, "Photo" => array, "PhotoComment" => array, "Friend" => array, "menu" => array, "user_menu" => array)
$url = "/photos/index/admin"
$status = null
$exit = false
$c = "Session"
$path = array(0 => "Session")
$resp = null
header($status);
}
if ($url !== null) {
header('Location: ' . Router::url($url, true));
}
header - [internal], line ??
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 503
PhotosController::show() - CORE/app/controllers/photos_controller.php, line 89
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
require - CORE/app/webroot/index.php, line 85
[main] - CORE/index.php, line 63