Skip to content

Instantly share code, notes, and snippets.

@Doopin
Created June 17, 2016 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Doopin/ed9099e3cbf50d83453826b8367e362e to your computer and use it in GitHub Desktop.
Save Doopin/ed9099e3cbf50d83453826b8367e362e to your computer and use it in GitHub Desktop.
Configuration Issue ZF2
/*
* I have 4 modules which are well loaded
*/
// Action called
public function indexAction() {
$this->layout('layout/default');
return [
'isWelcomePage' => true,
'form' => new LoginForm()
];
}
// In the view index.phtml
<?php var_dump($this->isWelcomePage); // I get null ?>
/*
* If I disable 3 other modules and I only this module, eveything works fine.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment