I have created a modules:
app/code/local/MyStore/Welcome
And in this module, I have a controller like:
MyStore_Welcome_IndexController
From my current knowledge, I see at the beginning Magento load Mage_Cms_IndexController controller as the default controller.
Now I want to load MyStore_Welcome_IndexController controller as default.
How can I do that?
Update:
I’ve found a way to do using admin feature:
From the menu you chose: System/Configuration/Web:
You continue to choose: “Default Page” => “Default Web URL” to field the module:

You need to make sure that your controller
extends Mage_Cms_IndexControllerand then override that default controller via the controller overloading method. In this method you will create a plugin as per usual, but you need to do the following:add the declaration
require_once()at the top with the relative path to the controller you’re overloading. E.g. :Create any class methods or properties that you may want to add in addition to the default.
in your config.xml add the following lines outside of the
<global>node:Something to remember – if you rewrite any default methods you need to
return parent::{methodname}either before or after your injected functionality to ensure that the default behaviors continue to operate.