W module Album config wyglada tak:
'display_not_found_reason' => true, 'display_exceptions' => true, 'doctype' => 'HTML5', 'not_found_template' => 'error/404', 'exception_template' => 'error/index', 'layout/album' => __DIR__ . '/../view/layout/layout.phtml', 'error/404' => __DIR__ . '/../view/error/404.phtml', 'error/index' => __DIR__ . '/../view/error/index.phtml', ), __DIR__ . '/../view', ), ),
A w admin wygląda tak:
'display_not_found_reason' => true, 'display_exceptions' => true, 'doctype' => 'HTML5', 'not_found_template' => 'error/404', 'exception_template' => 'error/index', 'layout/admin' => __DIR__ . '/../view/layout/layout.phtml', 'error/404' => __DIR__ . '/../view/error/404.phtml', 'error/index' => __DIR__ . '/../view/error/index.phtml', ), __DIR__ . '/../view', ),
Różni się tylko '/layout/*' ...
Nie wiem dlaczego ale pokazuje cały czas layout dla album... A jak tutaj zmienie na: 'layout/layout' to wtedy dla albumu i admin pokaże layout z admin... Wiecie o co kaman?