Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to use Magento use the app_1401 folder as app folder ? 
 
PavelPolyakov
Sr. Member
 
Total Posts:  98
Joined:  2009-08-17
 

Hi,

For the development purposes I want to have 2 app folders for the one shop.
I want to choose which folder to use as “app” by IP.

Then I suggested that I can do it in the index.php file. I found where the app/Mage.php includes and changed it to:

if($_SERVER['REMOTE_ADDR']=='82.117.249.152')
{
    $mageFilename 
'app_1401/Mage.php';
}
else
{
    $mageFilename 
'app/Mage.php';
}

But the store doesn’t want to work.

http://screencast.com/t/ailDquwf0

How to make Magento use app_1401 and nothing more?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top