Version Notes
re-direction to MartMobi control panel for creating mobile website and native apps.
Download this release
Release Info
Developer | MartMobi |
Extension | martmobi12345 |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
app/code/local/Martmobi/Redirect/controllers/IndexController.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Martmobi_Redirect_IndexController extends Mage_Core_Controller_Front_Action
|
4 |
+
{
|
5 |
+
|
6 |
+
public function redirectAction(){
|
7 |
+
$url = 'martmobi.com';
|
8 |
+
header("Location: http://www.martmobi.com");
|
9 |
+
exit();
|
10 |
+
}
|
11 |
+
}
|
app/code/local/Martmobi/Redirect/etc/config.xml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<frontend>
|
4 |
+
<routers>
|
5 |
+
<martmobi>
|
6 |
+
<use>standard</use>
|
7 |
+
<args>
|
8 |
+
<module>Martmobi_Redirect</module>
|
9 |
+
<frontName>martmobi</frontName>
|
10 |
+
</args>
|
11 |
+
</martmobi>
|
12 |
+
</routers>
|
13 |
+
</frontend>
|
14 |
+
</config>
|
app/etc/modules/Martmobi_Redirect.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Martmobi_Redirect>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>local</codePool>
|
7 |
+
</Martmobi_Redirect>
|
8 |
+
</modules>
|
9 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>martmobi12345</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license>OSL</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Extension allows re-direction to MartMobi Control Panel for merchants to create beautiful Mobile sites, Native Apps on iOS, Android.</summary>
|
10 |
+
<description>Extension allows re-direction to MartMobi Control Panel for merchants to create beautiful Mobile sites, Native Apps on iOS, Android without any programming effort</description>
|
11 |
+
<notes>re-direction to MartMobi control panel for creating mobile website and native apps.</notes>
|
12 |
+
<authors><author><name>MartMobi </name><user>MartMobi</user><email>hello@martmobi.com</email></author></authors>
|
13 |
+
<date>2014-03-31</date>
|
14 |
+
<time>08:07:18</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Martmobi"><dir name="Redirect"><dir name="controllers"><file name="IndexController.php" hash="a049e345f6fd6cfda5c8aae5249500a1"/></dir><dir name="etc"><file name="config.xml" hash="0d901723aa62ff614458cc69e1c86a32"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Martmobi_Redirect.xml" hash="b1b8a619cba909199028be0ae06c0bc1"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.3.1</min><max>5.5.3</max></php></required></dependencies>
|
18 |
+
</package>
|