Created
June 17, 2016 02:51
-
-
Save Doopin/ed9099e3cbf50d83453826b8367e362e to your computer and use it in GitHub Desktop.
Configuration Issue ZF2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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