I work on an application, in wich, you can switch from one language to another, and the controller loads the localized view file from the desired directory.
views/
site/
hu/
index.php
en/
index.php
It is working fine, until I remove the index.php view file from the views/site/ directory. The index.php is used by the actionIndex() method of the SiteController (in my case). When I delete this file, I got the "SiteController cannot find the requested view "index"." message. If I put even a total empty "index.php" under the views/site/ directory, it works fine: the controller loads the "views/site/hu/index.php" or the "views/site/en/index.php" depend on the application language.
Is this some kind of bug, or I do something wrong? Any idea?