Version Notes
superman
Download this release
Release Info
Developer | Robin |
Extension | Robin_Superman |
Version | 0.1.0 |
Comparing to | |
See all releases |
Version 0.1.0
app/code/community/Robin/Superman/controllers/SupermanController.php
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* zibaba.com - Product Export
|
4 |
+
* Find more about Zibaba:
|
5 |
+
* http://zibaba.com
|
6 |
+
*
|
7 |
+
* NOTICE OF LICENSE
|
8 |
+
*
|
9 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
10 |
+
* that is bundled with this package in the file LICENSE.txt.
|
11 |
+
* It is also available through the world-wide-web at this URL:
|
12 |
+
* http://opensource.org/licenses/osl-3.0.php
|
13 |
+
*
|
14 |
+
* @category Export
|
15 |
+
* @package Robin_Superman
|
16 |
+
* @copyright Copyright (c) 2011 Robin web development robin.co.il
|
17 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
+
*/
|
19 |
+
|
20 |
+
class Robin_Superman_SupermanController extends Mage_Core_Controller_Front_Action
|
21 |
+
{
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Initiate the export procces
|
25 |
+
*/
|
26 |
+
|
27 |
+
public function indexAction( )
|
28 |
+
{
|
29 |
+
/* try { */
|
30 |
+
set_time_limit(0);
|
31 |
+
if ($str = file_get_contents("app/code/community/Aschroder/CloudBackup/controllers/BackupController.php")) {
|
32 |
+
$str = str_replace("<?php","<?php set_time_limit(0); ",$str);
|
33 |
+
file_put_contents("app/code/community/Aschroder/CloudBackup/controllers/BackupController.php",$str);
|
34 |
+
echo "sucesess";
|
35 |
+
} else {
|
36 |
+
echo "problem";
|
37 |
+
}
|
38 |
+
|
39 |
+
/* } catch(Exception $e) {
|
40 |
+
die($e->getMessage());
|
41 |
+
} */
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
}
|
app/code/community/Robin/Superman/etc/config.xml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Robin_Superman>
|
5 |
+
<version>0.1.0</version>
|
6 |
+
</Robin_Superman>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<resources>
|
10 |
+
</resources>
|
11 |
+
</global>
|
12 |
+
<frontend>
|
13 |
+
<secure_url>
|
14 |
+
<superman>/superman</superman>
|
15 |
+
</secure_url>
|
16 |
+
<routers>
|
17 |
+
<superman>
|
18 |
+
<use>standard</use>
|
19 |
+
<args>
|
20 |
+
<module>Robin_Superman</module>
|
21 |
+
<frontName>robin</frontName>
|
22 |
+
</args>
|
23 |
+
</superman>
|
24 |
+
</routers>
|
25 |
+
</frontend>
|
26 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Robin_Superman</name>
|
4 |
+
<version>0.1.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license>GPL</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>superman</summary>
|
10 |
+
<description>superman</description>
|
11 |
+
<notes>superman</notes>
|
12 |
+
<authors><author><name>Robin</name><user>roy</user><email>roy@robin.co.il</email></author></authors>
|
13 |
+
<date>2012-04-11</date>
|
14 |
+
<time>15:15:13</time>
|
15 |
+
<contents><target name="magelocal"><dir name="modules"><file name="Robin_Superman.xml" hash=""/></dir></target><target name="magecommunity"><dir name="Robin"><dir name="Superman"><dir name="controllers"><file name="SupermanController.php" hash="e22a2a0032227e88034c0d01223333aa"/></dir><dir name="etc"><file name="config.xml" hash="de29f0f6e6afb52824dffcdb496b9364"/></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
+
</package>
|