Version Notes
1.9.1.1
Download this release
Release Info
Developer | Magento Core Team |
Extension | Lib_Mage |
Version | 1.9.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.9.1.0 to 1.9.1.1
- lib/Mage/Archive.php +4 -4
- lib/Mage/Archive/Abstract.php +4 -4
- lib/Mage/Archive/Bz.php +4 -4
- lib/Mage/Archive/Gz.php +4 -4
- lib/Mage/Archive/Helper/File.php +23 -23
- lib/Mage/Archive/Helper/File/Bz.php +23 -23
- lib/Mage/Archive/Helper/File/Gz.php +23 -23
- lib/Mage/Archive/Interface.php +4 -4
- lib/Mage/Archive/Tar.php +4 -4
- lib/Mage/Autoload/Simple.php +52 -52
- lib/Mage/Backup.php +4 -4
- lib/Mage/Backup/Abstract.php +4 -4
- lib/Mage/Backup/Archive/Tar.php +4 -4
- lib/Mage/Backup/Db.php +4 -4
- lib/Mage/Backup/Exception.php +4 -4
- lib/Mage/Backup/Exception/CantLoadSnapshot.php +4 -4
- lib/Mage/Backup/Exception/FtpConnectionFailed.php +4 -4
- lib/Mage/Backup/Exception/FtpValidationFailed.php +4 -4
- lib/Mage/Backup/Exception/NotEnoughFreeSpace.php +4 -4
- lib/Mage/Backup/Exception/NotEnoughPermissions.php +4 -4
- lib/Mage/Backup/Filesystem.php +4 -4
- lib/Mage/Backup/Filesystem/Helper.php +4 -4
- lib/Mage/Backup/Filesystem/Iterator/File.php +4 -4
- lib/Mage/Backup/Filesystem/Iterator/Filter.php +4 -4
- lib/Mage/Backup/Filesystem/Rollback/Abstract.php +4 -4
- lib/Mage/Backup/Filesystem/Rollback/Fs.php +4 -4
- lib/Mage/Backup/Filesystem/Rollback/Ftp.php +4 -4
- lib/Mage/Backup/Interface.php +4 -4
- lib/Mage/Backup/Media.php +4 -4
- lib/Mage/Backup/Nomedia.php +4 -4
- lib/Mage/Backup/Snapshot.php +4 -4
- lib/Mage/Cache/Backend/File.php +6 -9
- lib/Mage/Cache/Backend/Redis.php +6 -9
- lib/Mage/Connect/Channel/Generator.php +63 -63
- lib/Mage/Connect/Channel/Parser.php +25 -25
- lib/Mage/Connect/Channel/VO.php +113 -113
- lib/Mage/Connect/Command.php +5 -5
- lib/Mage/Connect/Command/Channels.php +4 -4
- lib/Mage/Connect/Command/Channels_Header.php +4 -5
- lib/Mage/Connect/Command/Config.php +211 -211
- lib/Mage/Connect/Command/Config_Header.php +100 -100
- lib/Mage/Connect/Command/Install.php +4 -4
- lib/Mage/Connect/Command/Install_Header.php +9 -9
- lib/Mage/Connect/Command/Package.php +6 -6
- lib/Mage/Connect/Command/Package_Header.php +5 -5
- lib/Mage/Connect/Command/Registry.php +5 -5
- lib/Mage/Connect/Command/Registry_Header.php +5 -5
- lib/Mage/Connect/Command/Remote.php +5 -5
- lib/Mage/Connect/Command/Remote_Header.php +5 -5
- lib/Mage/Connect/Config.php +25 -2
- lib/Mage/Connect/Converter.php +5 -6
- lib/Mage/Connect/Frontend.php +4 -4
- lib/Mage/Connect/Frontend/CLI.php +441 -441
- lib/Mage/Connect/Ftp.php +4 -4
- lib/Mage/Connect/Loader.php +5 -5
- lib/Mage/Connect/Loader/Ftp.php +5 -5
- lib/Mage/Connect/Package.php +5 -5
- lib/Mage/Connect/Package/Hotfix.php +5 -5
- lib/Mage/Connect/Package/Maintainer.php +1 -0
- lib/Mage/Connect/Package/Reader.php +5 -5
- lib/Mage/Connect/Package/Target.php +5 -5
- lib/Mage/Connect/Package/VO.php +96 -96
- lib/Mage/Connect/Package/Writer.php +5 -5
- lib/Mage/Connect/Packager.php +4 -4
- lib/Mage/Connect/Repository.php +1 -0
- lib/Mage/Connect/Repository/Abstract.php +1 -0
- lib/Mage/Connect/Repository/Channel.php +1 -0
- lib/Mage/Connect/Repository/Channel/Abstract.php +1 -0
- lib/Mage/Connect/Repository/Channel/Commercial.php +1 -0
- lib/Mage/Connect/Repository/Channel/Community.php +1 -0
- lib/Mage/Connect/Repository/Channel/Core.php +1 -0
- lib/Mage/Connect/Repository/Local.php +1 -0
- lib/Mage/Connect/Rest.php +12 -12
- lib/Mage/Connect/Singleconfig.php +5 -5
- lib/Mage/Connect/Structures/Graph.php +4 -4
- lib/Mage/Connect/Structures/Node.php +4 -4
- lib/Mage/Connect/Validator.php +321 -321
- lib/Mage/DB/Exception.php +5 -5
- lib/Mage/DB/Mysqli.php +5 -5
- lib/Mage/Exception.php +5 -5
- lib/Mage/HTTP/Client.php +52 -52
- lib/Mage/HTTP/Client/Curl.php +10 -10
- lib/Mage/HTTP/Client/Socket.php +503 -503
- lib/Mage/HTTP/IClient.php +5 -5
- lib/Mage/System/Args.php +4 -4
- lib/Mage/System/Dirs.php +24 -2
- lib/Mage/System/Ftp.php +4 -4
- lib/Mage/Xml/Generator.php +25 -1
- lib/Mage/Xml/Parser.php +25 -1
- package.xml +5 -5
lib/Mage/Archive.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Archive/Abstract.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Archive/Bz.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Archive/Gz.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Archive/Helper/File.php
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
|
27 |
/**
|
28 |
* Helper class that simplifies files stream reading and writing
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
|
27 |
/**
|
28 |
* Helper class that simplifies files stream reading and writing
|
lib/Mage/Archive/Helper/File/Bz.php
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
|
27 |
/**
|
28 |
* Helper class that simplifies bz2 files stream reading and writing
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
|
27 |
/**
|
28 |
* Helper class that simplifies bz2 files stream reading and writing
|
lib/Mage/Archive/Helper/File/Gz.php
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
|
27 |
/**
|
28 |
* Helper class that simplifies gz files stream reading and writing
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
|
27 |
/**
|
28 |
* Helper class that simplifies gz files stream reading and writing
|
lib/Mage/Archive/Interface.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Archive/Tar.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Archive
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Autoload/Simple.php
CHANGED
@@ -1,52 +1,52 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
-
|
27 |
-
class Mage_Autoload_Simple
|
28 |
-
{
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
if (!self::$_instance) {
|
34 |
-
|
35 |
-
self::$_instance = new $class();
|
36 |
-
}
|
37 |
-
return self::$_instance;
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
$classFile.= '.php';
|
49 |
-
@include $classFile;
|
50 |
-
|
51 |
-
|
52 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Autoload
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
class Mage_Autoload_Simple
|
28 |
+
{
|
29 |
+
private static $_instance;
|
30 |
+
|
31 |
+
public static function instance()
|
32 |
+
{
|
33 |
+
if (!self::$_instance) {
|
34 |
+
$class = __CLASS__;
|
35 |
+
self::$_instance = new $class();
|
36 |
+
}
|
37 |
+
return self::$_instance;
|
38 |
+
}
|
39 |
+
|
40 |
+
public static function register()
|
41 |
+
{
|
42 |
+
spl_autoload_register(array(self::instance(), 'autoload'));
|
43 |
+
}
|
44 |
+
|
45 |
+
public function autoload($class)
|
46 |
+
{
|
47 |
+
$classFile = str_replace(' ', DIRECTORY_SEPARATOR, ucwords(str_replace('_', ' ', $class)));
|
48 |
+
$classFile.= '.php';
|
49 |
+
@include $classFile;
|
50 |
+
}
|
51 |
+
|
52 |
+
}
|
lib/Mage/Backup.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Abstract.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Archive/Tar.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Db.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Exception.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Exception/CantLoadSnapshot.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Exception/FtpConnectionFailed.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Exception/FtpValidationFailed.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Exception/NotEnoughFreeSpace.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Exception/NotEnoughPermissions.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Filesystem.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Filesystem/Helper.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Filesystem/Iterator/File.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
|
lib/Mage/Backup/Filesystem/Iterator/Filter.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Filesystem/Rollback/Abstract.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Filesystem/Rollback/Fs.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Filesystem/Rollback/Ftp.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Interface.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Media.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Nomedia.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Backup/Snapshot.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Backup
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Cache/Backend/File.php
CHANGED
@@ -10,21 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
-
* @category
|
22 |
-
* @package
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*
|
26 |
-
* Summary of changes:
|
27 |
-
* - code modified to follow Magento coding standards
|
28 |
*/
|
29 |
|
30 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Cache
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
|
|
|
|
|
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Cache/Backend/Redis.php
CHANGED
@@ -10,21 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
-
* @category
|
22 |
-
* @package
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*
|
26 |
-
* Summary of changes:
|
27 |
-
* - code modified to follow Magento coding standards
|
28 |
*/
|
29 |
|
30 |
/**
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Cache
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
|
|
|
|
|
|
25 |
*/
|
26 |
|
27 |
/**
|
lib/Mage/Connect/Channel/Generator.php
CHANGED
@@ -1,63 +1,63 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
-
|
27 |
-
class Mage_Connect_Channel_Generator extends Mage_Xml_Generator
|
28 |
-
{
|
29 |
-
protected $_file = 'channel.xml';
|
30 |
-
protected $_generator = null;
|
31 |
-
|
32 |
-
public function __construct($file='')
|
33 |
-
{
|
34 |
-
if ($file) {
|
35 |
-
$this->_file = $file;
|
36 |
-
}
|
37 |
-
return $this;
|
38 |
-
}
|
39 |
-
|
40 |
-
public function getFile()
|
41 |
-
{
|
42 |
-
return $this->_file;
|
43 |
-
}
|
44 |
-
|
45 |
-
public function getGenerator()
|
46 |
-
{
|
47 |
-
if (is_null($this->_generator)) {
|
48 |
-
$this->_generator = new Mage_Xml_Generator();
|
49 |
-
}
|
50 |
-
return $this->_generator;
|
51 |
-
}
|
52 |
-
|
53 |
-
/**
|
54 |
-
* @param array $content
|
55 |
-
*/
|
56 |
-
public function save($content)
|
57 |
-
{
|
58 |
-
$xmlContent = $this->getGenerator()
|
59 |
-
->arrayToXml($content)
|
60 |
-
->save($this->getFile());
|
61 |
-
return $this;
|
62 |
-
}
|
63 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
class Mage_Connect_Channel_Generator extends Mage_Xml_Generator
|
28 |
+
{
|
29 |
+
protected $_file = 'channel.xml';
|
30 |
+
protected $_generator = null;
|
31 |
+
|
32 |
+
public function __construct($file='')
|
33 |
+
{
|
34 |
+
if ($file) {
|
35 |
+
$this->_file = $file;
|
36 |
+
}
|
37 |
+
return $this;
|
38 |
+
}
|
39 |
+
|
40 |
+
public function getFile()
|
41 |
+
{
|
42 |
+
return $this->_file;
|
43 |
+
}
|
44 |
+
|
45 |
+
public function getGenerator()
|
46 |
+
{
|
47 |
+
if (is_null($this->_generator)) {
|
48 |
+
$this->_generator = new Mage_Xml_Generator();
|
49 |
+
}
|
50 |
+
return $this->_generator;
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* @param array $content
|
55 |
+
*/
|
56 |
+
public function save($content)
|
57 |
+
{
|
58 |
+
$xmlContent = $this->getGenerator()
|
59 |
+
->arrayToXml($content)
|
60 |
+
->save($this->getFile());
|
61 |
+
return $this;
|
62 |
+
}
|
63 |
+
}
|
lib/Mage/Connect/Channel/Parser.php
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
lib/Mage/Connect/Channel/VO.php
CHANGED
@@ -1,113 +1,113 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
-
|
27 |
-
|
28 |
-
class Mage_Connect_Channel_VO implements Iterator
|
29 |
-
{
|
30 |
-
|
31 |
-
private $_validator = null;
|
32 |
-
|
33 |
-
protected $properties = array(
|
34 |
-
'name' => '',
|
35 |
-
'uri' => '',
|
36 |
-
'summary' => '',
|
37 |
-
);
|
38 |
-
|
39 |
-
public function rewind() {
|
40 |
-
reset($this->properties);
|
41 |
-
}
|
42 |
-
|
43 |
-
public function valid() {
|
44 |
-
return current($this->properties) !== false;
|
45 |
-
}
|
46 |
-
|
47 |
-
public function key() {
|
48 |
-
return key($this->properties);
|
49 |
-
}
|
50 |
-
|
51 |
-
public function current() {
|
52 |
-
return current($this->properties);
|
53 |
-
}
|
54 |
-
|
55 |
-
public function next() {
|
56 |
-
next($this->properties);
|
57 |
-
}
|
58 |
-
|
59 |
-
public function __get($var)
|
60 |
-
{
|
61 |
-
if (isset($this->properties[$var])) {
|
62 |
-
return $this->properties[$var];
|
63 |
-
}
|
64 |
-
return null;
|
65 |
-
}
|
66 |
-
|
67 |
-
public function __set($var, $value)
|
68 |
-
{
|
69 |
-
if (is_string($value)) {
|
70 |
-
$value = trim($value);
|
71 |
-
}
|
72 |
-
if (isset($this->properties[$var])) {
|
73 |
-
if ($value === null) {
|
74 |
-
$value = '';
|
75 |
-
}
|
76 |
-
$this->properties[$var] = $value;
|
77 |
-
}
|
78 |
-
}
|
79 |
-
|
80 |
-
public function toArray()
|
81 |
-
{
|
82 |
-
return array('channel' => $this->properties);
|
83 |
-
}
|
84 |
-
|
85 |
-
public function fromArray(array $arr)
|
86 |
-
{
|
87 |
-
foreach($arr as $k=>$v) {
|
88 |
-
$this->$k = $v;
|
89 |
-
}
|
90 |
-
}
|
91 |
-
|
92 |
-
|
93 |
-
private function validator()
|
94 |
-
{
|
95 |
-
if(is_null($this->_validator)) {
|
96 |
-
$this->_validator = new Mage_Connect_Validator();
|
97 |
-
}
|
98 |
-
return $this->_validator;
|
99 |
-
}
|
100 |
-
|
101 |
-
/**
|
102 |
-
Stub for validation result
|
103 |
-
*/
|
104 |
-
public function validate()
|
105 |
-
{
|
106 |
-
$v = $this->validator();
|
107 |
-
if(!$v->validatePackageName($this->name)) {
|
108 |
-
return false;
|
109 |
-
}
|
110 |
-
return true;
|
111 |
-
}
|
112 |
-
|
113 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
|
28 |
+
class Mage_Connect_Channel_VO implements Iterator
|
29 |
+
{
|
30 |
+
|
31 |
+
private $_validator = null;
|
32 |
+
|
33 |
+
protected $properties = array(
|
34 |
+
'name' => '',
|
35 |
+
'uri' => '',
|
36 |
+
'summary' => '',
|
37 |
+
);
|
38 |
+
|
39 |
+
public function rewind() {
|
40 |
+
reset($this->properties);
|
41 |
+
}
|
42 |
+
|
43 |
+
public function valid() {
|
44 |
+
return current($this->properties) !== false;
|
45 |
+
}
|
46 |
+
|
47 |
+
public function key() {
|
48 |
+
return key($this->properties);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function current() {
|
52 |
+
return current($this->properties);
|
53 |
+
}
|
54 |
+
|
55 |
+
public function next() {
|
56 |
+
next($this->properties);
|
57 |
+
}
|
58 |
+
|
59 |
+
public function __get($var)
|
60 |
+
{
|
61 |
+
if (isset($this->properties[$var])) {
|
62 |
+
return $this->properties[$var];
|
63 |
+
}
|
64 |
+
return null;
|
65 |
+
}
|
66 |
+
|
67 |
+
public function __set($var, $value)
|
68 |
+
{
|
69 |
+
if (is_string($value)) {
|
70 |
+
$value = trim($value);
|
71 |
+
}
|
72 |
+
if (isset($this->properties[$var])) {
|
73 |
+
if ($value === null) {
|
74 |
+
$value = '';
|
75 |
+
}
|
76 |
+
$this->properties[$var] = $value;
|
77 |
+
}
|
78 |
+
}
|
79 |
+
|
80 |
+
public function toArray()
|
81 |
+
{
|
82 |
+
return array('channel' => $this->properties);
|
83 |
+
}
|
84 |
+
|
85 |
+
public function fromArray(array $arr)
|
86 |
+
{
|
87 |
+
foreach($arr as $k=>$v) {
|
88 |
+
$this->$k = $v;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
|
93 |
+
private function validator()
|
94 |
+
{
|
95 |
+
if(is_null($this->_validator)) {
|
96 |
+
$this->_validator = new Mage_Connect_Validator();
|
97 |
+
}
|
98 |
+
return $this->_validator;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
Stub for validation result
|
103 |
+
*/
|
104 |
+
public function validate()
|
105 |
+
{
|
106 |
+
$v = $this->validator();
|
107 |
+
if(!$v->validatePackageName($this->name)) {
|
108 |
+
return false;
|
109 |
+
}
|
110 |
+
return true;
|
111 |
+
}
|
112 |
+
|
113 |
+
}
|
lib/Mage/Connect/Command.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
|
@@ -387,4 +387,4 @@ class Mage_Connect_Command
|
|
387 |
return self::$_packager;
|
388 |
}
|
389 |
|
390 |
-
}
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
|
387 |
return self::$_packager;
|
388 |
}
|
389 |
|
390 |
+
}
|
lib/Mage/Connect/Command/Channels.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
final class Mage_Connect_Command_Channels
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
final class Mage_Connect_Command_Channels
|
lib/Mage/Connect/Command/Channels_Header.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
$commands = array(
|
@@ -102,4 +102,3 @@ remote server, it only deletes the stored username and password from your user
|
|
102 |
configuration.',
|
103 |
),
|
104 |
);
|
105 |
-
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
$commands = array(
|
102 |
configuration.',
|
103 |
),
|
104 |
);
|
|
lib/Mage/Connect/Command/Config.php
CHANGED
@@ -1,211 +1,211 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
-
|
27 |
-
|
28 |
-
class Mage_Connect_Command_Config
|
29 |
-
extends Mage_Connect_Command
|
30 |
-
|
31 |
-
{
|
32 |
-
const PARAM_KEY = 0;
|
33 |
-
const PARAM_VAL = 1;
|
34 |
-
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Show config variable
|
38 |
-
* @param string $command
|
39 |
-
* @param array $options
|
40 |
-
* @param array $params
|
41 |
-
* @return void
|
42 |
-
*/
|
43 |
-
public function doConfigShow($command, $options, $params)
|
44 |
-
{
|
45 |
-
$this->cleanupParams($params);
|
46 |
-
|
47 |
-
try {
|
48 |
-
$values = array();
|
49 |
-
|
50 |
-
$packager = $this->getPackager();
|
51 |
-
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
52 |
-
if($ftp) {
|
53 |
-
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
54 |
-
} else {
|
55 |
-
$config = $this->config();
|
56 |
-
}
|
57 |
-
foreach( $config as $k=>$v ) {
|
58 |
-
$values[$k] = $v;
|
59 |
-
}
|
60 |
-
if($ftp) {
|
61 |
-
@unlink($config->getFilename());
|
62 |
-
}
|
63 |
-
$data = array($command => array('data'=>$values));
|
64 |
-
$this->ui()->output($data);
|
65 |
-
} catch (Exception $e) {
|
66 |
-
if($ftp) {
|
67 |
-
@unlink($config->getFilename());
|
68 |
-
}
|
69 |
-
return $this->doError($command, $e->getMessage());
|
70 |
-
}
|
71 |
-
}
|
72 |
-
|
73 |
-
|
74 |
-
/**
|
75 |
-
* Set config variable
|
76 |
-
* @param string $command
|
77 |
-
* @param array $options
|
78 |
-
* @param array $params
|
79 |
-
* @return void
|
80 |
-
*/
|
81 |
-
public function doConfigSet($command, $options, $params)
|
82 |
-
{
|
83 |
-
$this->cleanupParams($params);
|
84 |
-
|
85 |
-
try {
|
86 |
-
if(count($params) < 2) {
|
87 |
-
throw new Exception("Parameters count should be >= 2");
|
88 |
-
}
|
89 |
-
$key = strtolower($params[self::PARAM_KEY]);
|
90 |
-
$val = strval($params[self::PARAM_VAL]);
|
91 |
-
$packager = $this->getPackager();
|
92 |
-
|
93 |
-
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
94 |
-
if($ftp) {
|
95 |
-
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
96 |
-
} else {
|
97 |
-
$config = $this->config();
|
98 |
-
}
|
99 |
-
|
100 |
-
if(!$config->hasKey($key)) {
|
101 |
-
throw new Exception ("No such config variable: {$key}!");
|
102 |
-
}
|
103 |
-
if(!$config->validate($key, $val)) {
|
104 |
-
$possible = $this->config()->possible($key);
|
105 |
-
$type = $this->config()->type($key);
|
106 |
-
$errString = "Invalid value specified for $key!";
|
107 |
-
throw new Exception($errString);
|
108 |
-
}
|
109 |
-
if($ftp) {
|
110 |
-
$packager->writeToRemoteConfig($config, $ftpObj);
|
111 |
-
}
|
112 |
-
$this->config()->$key = $val;
|
113 |
-
$this->ui()->output('Success');
|
114 |
-
} catch (Exception $e) {
|
115 |
-
if($ftp) {
|
116 |
-
@unlink($config->getFilename());
|
117 |
-
}
|
118 |
-
return $this->doError($command, $e->getMessage());
|
119 |
-
}
|
120 |
-
}
|
121 |
-
|
122 |
-
/**
|
123 |
-
* Get config var
|
124 |
-
* @param string $command
|
125 |
-
* @param array $options
|
126 |
-
* @param array $params
|
127 |
-
* @return void
|
128 |
-
*/
|
129 |
-
public function doConfigGet($command, $options, $params)
|
130 |
-
{
|
131 |
-
$this->cleanupParams($params);
|
132 |
-
|
133 |
-
try {
|
134 |
-
if(count($params) < 1) {
|
135 |
-
throw new Exception("Parameters count should be >= 1");
|
136 |
-
}
|
137 |
-
$packager = $this->getPackager();
|
138 |
-
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
139 |
-
if($ftp) {
|
140 |
-
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
141 |
-
} else {
|
142 |
-
$config = $this->config();
|
143 |
-
}
|
144 |
-
$key = strtolower($params[self::PARAM_KEY]);
|
145 |
-
if(!$config->hasKey($key)) {
|
146 |
-
throw new Exception("No such config variable '{$key}'!");
|
147 |
-
}
|
148 |
-
if($ftp) {
|
149 |
-
@unlink($config->getFilename());
|
150 |
-
}
|
151 |
-
$this->ui()->output($config->$key);
|
152 |
-
} catch (Exception $e) {
|
153 |
-
if($ftp) {
|
154 |
-
@unlink($config->getFilename());
|
155 |
-
}
|
156 |
-
return $this->doError($command, $e->getMessage());
|
157 |
-
}
|
158 |
-
}
|
159 |
-
|
160 |
-
/**
|
161 |
-
* Config help
|
162 |
-
* @param string $command
|
163 |
-
* @param array $options
|
164 |
-
* @param array $params
|
165 |
-
* @return void
|
166 |
-
*/
|
167 |
-
public function doConfigHelp($command, $options, $params)
|
168 |
-
{
|
169 |
-
try {
|
170 |
-
$this->cleanupParams($params);
|
171 |
-
if(count($params) < 1) {
|
172 |
-
throw new Exception( "Parameters count should be >= 1");
|
173 |
-
}
|
174 |
-
$packager = $this->getPackager();
|
175 |
-
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
176 |
-
if($ftp) {
|
177 |
-
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
178 |
-
} else {
|
179 |
-
$config = $this->config();
|
180 |
-
}
|
181 |
-
|
182 |
-
$key = strtolower($params[self::PARAM_KEY]);
|
183 |
-
if(!$this->config()->hasKey($key)) {
|
184 |
-
throw new Exception("No such config variable '{$key}'!");
|
185 |
-
}
|
186 |
-
|
187 |
-
$possible = $config->possible($key);
|
188 |
-
$type = $config->type($key);
|
189 |
-
$doc = $config->doc($key);
|
190 |
-
if($ftp) {
|
191 |
-
@unlink($config->getFilename());
|
192 |
-
}
|
193 |
-
$data = array();
|
194 |
-
$data[$command]['data'] = array(
|
195 |
-
'name' => array('Variable name', $key),
|
196 |
-
'type' => array('Value type', $type),
|
197 |
-
'possible' => array('Possible values', $possible),
|
198 |
-
'doc' => $doc,
|
199 |
-
);
|
200 |
-
$this->ui()->output($data);
|
201 |
-
} catch (Exception $e) {
|
202 |
-
if($ftp) {
|
203 |
-
@unlink($config->getFilename());
|
204 |
-
}
|
205 |
-
return $this->doError($command, $e->getMessage());
|
206 |
-
}
|
207 |
-
}
|
208 |
-
|
209 |
-
}
|
210 |
-
|
211 |
-
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
|
28 |
+
class Mage_Connect_Command_Config
|
29 |
+
extends Mage_Connect_Command
|
30 |
+
|
31 |
+
{
|
32 |
+
const PARAM_KEY = 0;
|
33 |
+
const PARAM_VAL = 1;
|
34 |
+
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Show config variable
|
38 |
+
* @param string $command
|
39 |
+
* @param array $options
|
40 |
+
* @param array $params
|
41 |
+
* @return void
|
42 |
+
*/
|
43 |
+
public function doConfigShow($command, $options, $params)
|
44 |
+
{
|
45 |
+
$this->cleanupParams($params);
|
46 |
+
|
47 |
+
try {
|
48 |
+
$values = array();
|
49 |
+
|
50 |
+
$packager = $this->getPackager();
|
51 |
+
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
52 |
+
if($ftp) {
|
53 |
+
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
54 |
+
} else {
|
55 |
+
$config = $this->config();
|
56 |
+
}
|
57 |
+
foreach( $config as $k=>$v ) {
|
58 |
+
$values[$k] = $v;
|
59 |
+
}
|
60 |
+
if($ftp) {
|
61 |
+
@unlink($config->getFilename());
|
62 |
+
}
|
63 |
+
$data = array($command => array('data'=>$values));
|
64 |
+
$this->ui()->output($data);
|
65 |
+
} catch (Exception $e) {
|
66 |
+
if($ftp) {
|
67 |
+
@unlink($config->getFilename());
|
68 |
+
}
|
69 |
+
return $this->doError($command, $e->getMessage());
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Set config variable
|
76 |
+
* @param string $command
|
77 |
+
* @param array $options
|
78 |
+
* @param array $params
|
79 |
+
* @return void
|
80 |
+
*/
|
81 |
+
public function doConfigSet($command, $options, $params)
|
82 |
+
{
|
83 |
+
$this->cleanupParams($params);
|
84 |
+
|
85 |
+
try {
|
86 |
+
if(count($params) < 2) {
|
87 |
+
throw new Exception("Parameters count should be >= 2");
|
88 |
+
}
|
89 |
+
$key = strtolower($params[self::PARAM_KEY]);
|
90 |
+
$val = strval($params[self::PARAM_VAL]);
|
91 |
+
$packager = $this->getPackager();
|
92 |
+
|
93 |
+
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
94 |
+
if($ftp) {
|
95 |
+
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
96 |
+
} else {
|
97 |
+
$config = $this->config();
|
98 |
+
}
|
99 |
+
|
100 |
+
if(!$config->hasKey($key)) {
|
101 |
+
throw new Exception ("No such config variable: {$key}!");
|
102 |
+
}
|
103 |
+
if(!$config->validate($key, $val)) {
|
104 |
+
$possible = $this->config()->possible($key);
|
105 |
+
$type = $this->config()->type($key);
|
106 |
+
$errString = "Invalid value specified for $key!";
|
107 |
+
throw new Exception($errString);
|
108 |
+
}
|
109 |
+
if($ftp) {
|
110 |
+
$packager->writeToRemoteConfig($config, $ftpObj);
|
111 |
+
}
|
112 |
+
$this->config()->$key = $val;
|
113 |
+
$this->ui()->output('Success');
|
114 |
+
} catch (Exception $e) {
|
115 |
+
if($ftp) {
|
116 |
+
@unlink($config->getFilename());
|
117 |
+
}
|
118 |
+
return $this->doError($command, $e->getMessage());
|
119 |
+
}
|
120 |
+
}
|
121 |
+
|
122 |
+
/**
|
123 |
+
* Get config var
|
124 |
+
* @param string $command
|
125 |
+
* @param array $options
|
126 |
+
* @param array $params
|
127 |
+
* @return void
|
128 |
+
*/
|
129 |
+
public function doConfigGet($command, $options, $params)
|
130 |
+
{
|
131 |
+
$this->cleanupParams($params);
|
132 |
+
|
133 |
+
try {
|
134 |
+
if(count($params) < 1) {
|
135 |
+
throw new Exception("Parameters count should be >= 1");
|
136 |
+
}
|
137 |
+
$packager = $this->getPackager();
|
138 |
+
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
139 |
+
if($ftp) {
|
140 |
+
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
141 |
+
} else {
|
142 |
+
$config = $this->config();
|
143 |
+
}
|
144 |
+
$key = strtolower($params[self::PARAM_KEY]);
|
145 |
+
if(!$config->hasKey($key)) {
|
146 |
+
throw new Exception("No such config variable '{$key}'!");
|
147 |
+
}
|
148 |
+
if($ftp) {
|
149 |
+
@unlink($config->getFilename());
|
150 |
+
}
|
151 |
+
$this->ui()->output($config->$key);
|
152 |
+
} catch (Exception $e) {
|
153 |
+
if($ftp) {
|
154 |
+
@unlink($config->getFilename());
|
155 |
+
}
|
156 |
+
return $this->doError($command, $e->getMessage());
|
157 |
+
}
|
158 |
+
}
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Config help
|
162 |
+
* @param string $command
|
163 |
+
* @param array $options
|
164 |
+
* @param array $params
|
165 |
+
* @return void
|
166 |
+
*/
|
167 |
+
public function doConfigHelp($command, $options, $params)
|
168 |
+
{
|
169 |
+
try {
|
170 |
+
$this->cleanupParams($params);
|
171 |
+
if(count($params) < 1) {
|
172 |
+
throw new Exception( "Parameters count should be >= 1");
|
173 |
+
}
|
174 |
+
$packager = $this->getPackager();
|
175 |
+
$ftp = empty($options['ftp']) ? false : $options['ftp'];
|
176 |
+
if($ftp) {
|
177 |
+
list($config, $ftpObj) = $packager->getRemoteConfig($ftp);
|
178 |
+
} else {
|
179 |
+
$config = $this->config();
|
180 |
+
}
|
181 |
+
|
182 |
+
$key = strtolower($params[self::PARAM_KEY]);
|
183 |
+
if(!$this->config()->hasKey($key)) {
|
184 |
+
throw new Exception("No such config variable '{$key}'!");
|
185 |
+
}
|
186 |
+
|
187 |
+
$possible = $config->possible($key);
|
188 |
+
$type = $config->type($key);
|
189 |
+
$doc = $config->doc($key);
|
190 |
+
if($ftp) {
|
191 |
+
@unlink($config->getFilename());
|
192 |
+
}
|
193 |
+
$data = array();
|
194 |
+
$data[$command]['data'] = array(
|
195 |
+
'name' => array('Variable name', $key),
|
196 |
+
'type' => array('Value type', $type),
|
197 |
+
'possible' => array('Possible values', $possible),
|
198 |
+
'doc' => $doc,
|
199 |
+
);
|
200 |
+
$this->ui()->output($data);
|
201 |
+
} catch (Exception $e) {
|
202 |
+
if($ftp) {
|
203 |
+
@unlink($config->getFilename());
|
204 |
+
}
|
205 |
+
return $this->doError($command, $e->getMessage());
|
206 |
+
}
|
207 |
+
}
|
208 |
+
|
209 |
+
}
|
210 |
+
|
211 |
+
|
lib/Mage/Connect/Command/Config_Header.php
CHANGED
@@ -1,100 +1,100 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
-
*
|
21 |
-
* @category Mage
|
22 |
-
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
-
*/
|
26 |
-
|
27 |
-
$commands = array(
|
28 |
-
'config-show' => array(
|
29 |
-
'summary' => 'Show All Settings',
|
30 |
-
'function' => 'doConfigShow',
|
31 |
-
'shortcut' => 'csh',
|
32 |
-
'options' => array(
|
33 |
-
'channel' => array(
|
34 |
-
'shortopt' => 'c',
|
35 |
-
'doc' => 'show configuration variables for another channel',
|
36 |
-
'arg' => 'CHAN',
|
37 |
-
),
|
38 |
-
),
|
39 |
-
'doc' => '[layer]
|
40 |
-
Displays all configuration values. An optional argument
|
41 |
-
may be used to tell which configuration layer to display. Valid
|
42 |
-
configuration layers are "user", "system" and "default". To display
|
43 |
-
configurations for different channels, set the default_channel
|
44 |
-
configuration variable and run config-show again.
|
45 |
-
',
|
46 |
-
),
|
47 |
-
'config-get' => array(
|
48 |
-
'summary' => 'Show One Setting',
|
49 |
-
'function' => 'doConfigGet',
|
50 |
-
'shortcut' => 'cg',
|
51 |
-
'options' => array(
|
52 |
-
'channel' => array(
|
53 |
-
'shortopt' => 'c',
|
54 |
-
'doc' => 'show configuration variables for another channel',
|
55 |
-
'arg' => 'CHAN',
|
56 |
-
),
|
57 |
-
),
|
58 |
-
'doc' => '<parameter> [layer]
|
59 |
-
Displays the value of one configuration parameter. The
|
60 |
-
first argument is the name of the parameter, an optional second argument
|
61 |
-
may be used to tell which configuration layer to look in. Valid configuration
|
62 |
-
layers are "user", "system" and "default". If no layer is specified, a value
|
63 |
-
will be picked from the first layer that defines the parameter, in the order
|
64 |
-
just specified. The configuration value will be retrieved for the channel
|
65 |
-
specified by the default_channel configuration variable.
|
66 |
-
',
|
67 |
-
),
|
68 |
-
'config-set' => array(
|
69 |
-
'summary' => 'Change Setting',
|
70 |
-
'function' => 'doConfigSet',
|
71 |
-
'shortcut' => 'cs',
|
72 |
-
'options' => array(
|
73 |
-
'channel' => array(
|
74 |
-
'shortopt' => 'c',
|
75 |
-
'doc' => 'show configuration variables for another channel',
|
76 |
-
'arg' => 'CHAN',
|
77 |
-
),
|
78 |
-
),
|
79 |
-
'doc' => '<parameter> <value> [layer]
|
80 |
-
Sets the value of one configuration parameter. The first argument is
|
81 |
-
the name of the parameter, the second argument is the new value. Some
|
82 |
-
parameters are subject to validation, and the command will fail with
|
83 |
-
an error message if the new value does not make sense. An optional
|
84 |
-
third argument may be used to specify in which layer to set the
|
85 |
-
configuration parameter. The default layer is "user". The
|
86 |
-
configuration value will be set for the current channel, which
|
87 |
-
is controlled by the default_channel configuration variable.
|
88 |
-
',
|
89 |
-
),
|
90 |
-
'config-help' => array(
|
91 |
-
'summary' => 'Show Information About Setting',
|
92 |
-
'function' => 'doConfigHelp',
|
93 |
-
'shortcut' => 'ch',
|
94 |
-
'options' => array(),
|
95 |
-
'doc' => '[parameter]
|
96 |
-
Displays help for a configuration parameter. Without arguments it
|
97 |
-
displays help for all configuration parameters.
|
98 |
-
',
|
99 |
-
),
|
100 |
-
);
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
$commands = array(
|
28 |
+
'config-show' => array(
|
29 |
+
'summary' => 'Show All Settings',
|
30 |
+
'function' => 'doConfigShow',
|
31 |
+
'shortcut' => 'csh',
|
32 |
+
'options' => array(
|
33 |
+
'channel' => array(
|
34 |
+
'shortopt' => 'c',
|
35 |
+
'doc' => 'show configuration variables for another channel',
|
36 |
+
'arg' => 'CHAN',
|
37 |
+
),
|
38 |
+
),
|
39 |
+
'doc' => '[layer]
|
40 |
+
Displays all configuration values. An optional argument
|
41 |
+
may be used to tell which configuration layer to display. Valid
|
42 |
+
configuration layers are "user", "system" and "default". To display
|
43 |
+
configurations for different channels, set the default_channel
|
44 |
+
configuration variable and run config-show again.
|
45 |
+
',
|
46 |
+
),
|
47 |
+
'config-get' => array(
|
48 |
+
'summary' => 'Show One Setting',
|
49 |
+
'function' => 'doConfigGet',
|
50 |
+
'shortcut' => 'cg',
|
51 |
+
'options' => array(
|
52 |
+
'channel' => array(
|
53 |
+
'shortopt' => 'c',
|
54 |
+
'doc' => 'show configuration variables for another channel',
|
55 |
+
'arg' => 'CHAN',
|
56 |
+
),
|
57 |
+
),
|
58 |
+
'doc' => '<parameter> [layer]
|
59 |
+
Displays the value of one configuration parameter. The
|
60 |
+
first argument is the name of the parameter, an optional second argument
|
61 |
+
may be used to tell which configuration layer to look in. Valid configuration
|
62 |
+
layers are "user", "system" and "default". If no layer is specified, a value
|
63 |
+
will be picked from the first layer that defines the parameter, in the order
|
64 |
+
just specified. The configuration value will be retrieved for the channel
|
65 |
+
specified by the default_channel configuration variable.
|
66 |
+
',
|
67 |
+
),
|
68 |
+
'config-set' => array(
|
69 |
+
'summary' => 'Change Setting',
|
70 |
+
'function' => 'doConfigSet',
|
71 |
+
'shortcut' => 'cs',
|
72 |
+
'options' => array(
|
73 |
+
'channel' => array(
|
74 |
+
'shortopt' => 'c',
|
75 |
+
'doc' => 'show configuration variables for another channel',
|
76 |
+
'arg' => 'CHAN',
|
77 |
+
),
|
78 |
+
),
|
79 |
+
'doc' => '<parameter> <value> [layer]
|
80 |
+
Sets the value of one configuration parameter. The first argument is
|
81 |
+
the name of the parameter, the second argument is the new value. Some
|
82 |
+
parameters are subject to validation, and the command will fail with
|
83 |
+
an error message if the new value does not make sense. An optional
|
84 |
+
third argument may be used to specify in which layer to set the
|
85 |
+
configuration parameter. The default layer is "user". The
|
86 |
+
configuration value will be set for the current channel, which
|
87 |
+
is controlled by the default_channel configuration variable.
|
88 |
+
',
|
89 |
+
),
|
90 |
+
'config-help' => array(
|
91 |
+
'summary' => 'Show Information About Setting',
|
92 |
+
'function' => 'doConfigHelp',
|
93 |
+
'shortcut' => 'ch',
|
94 |
+
'options' => array(),
|
95 |
+
'doc' => '[parameter]
|
96 |
+
Displays help for a configuration parameter. Without arguments it
|
97 |
+
displays help for all configuration parameters.
|
98 |
+
',
|
99 |
+
),
|
100 |
+
);
|
lib/Mage/Connect/Command/Install.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
|
lib/Mage/Connect/Command/Install_Header.php
CHANGED
@@ -10,29 +10,29 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
$commands = array(
|
28 |
|
29 |
-
|
30 |
'summary' => 'Install Package Archive File',
|
31 |
'function' => 'doInstall',
|
32 |
'shortcut' => 'if',
|
33 |
'options' => array(),
|
34 |
-
|
35 |
-
|
36 |
'install' => array(
|
37 |
'summary' => 'Install Package',
|
38 |
'function' => 'doInstall',
|
@@ -64,7 +64,7 @@ $commands = array(
|
|
64 |
'ftp=' => array(
|
65 |
'shortopt' => 'r=',
|
66 |
'doc' => 'Remote side FTP connect string',
|
67 |
-
),
|
68 |
),
|
69 |
'doc' => '[channel/]<package> ...
|
70 |
Installs one or more PEAR packages. You can specify a package to
|
@@ -234,4 +234,4 @@ Uninstalls one or more PEAR packages. More than one package may be
|
|
234 |
specified at once. Prefix with channel name to uninstall from a
|
235 |
channel not in your default channel ({config default_channel})
|
236 |
'),
|
237 |
-
);
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
$commands = array(
|
28 |
|
29 |
+
'install-file' => array(
|
30 |
'summary' => 'Install Package Archive File',
|
31 |
'function' => 'doInstall',
|
32 |
'shortcut' => 'if',
|
33 |
'options' => array(),
|
34 |
+
'doc' => '',
|
35 |
+
),
|
36 |
'install' => array(
|
37 |
'summary' => 'Install Package',
|
38 |
'function' => 'doInstall',
|
64 |
'ftp=' => array(
|
65 |
'shortopt' => 'r=',
|
66 |
'doc' => 'Remote side FTP connect string',
|
67 |
+
),
|
68 |
),
|
69 |
'doc' => '[channel/]<package> ...
|
70 |
Installs one or more PEAR packages. You can specify a package to
|
234 |
specified at once. Prefix with channel name to uninstall from a
|
235 |
channel not in your default channel ({config default_channel})
|
236 |
'),
|
237 |
+
);
|
lib/Mage/Connect/Command/Package.php
CHANGED
@@ -6,22 +6,22 @@
|
|
6 |
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
final class Mage_Connect_Command_Package
|
@@ -131,4 +131,4 @@ extends Mage_Connect_Command
|
|
131 |
|
132 |
}
|
133 |
|
134 |
-
}
|
6 |
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
final class Mage_Connect_Command_Package
|
131 |
|
132 |
}
|
133 |
|
134 |
+
}
|
lib/Mage/Connect/Command/Package_Header.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
$commands = array(
|
@@ -64,4 +64,4 @@ Can take a tgz / tar file, package.xml or a package name of an installed package
|
|
64 |
'options' => array(),
|
65 |
'doc' => ''
|
66 |
),
|
67 |
-
);
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
*/
|
26 |
|
27 |
$commands = array(
|
64 |
'options' => array(),
|
65 |
'doc' => ''
|
66 |
),
|
67 |
+
);
|
lib/Mage/Connect/Command/Registry.php
CHANGED
@@ -10,18 +10,18 @@
|
|
10 |
* http://opensource.org/licenses/osl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category Mage
|
22 |
* @package Mage_Connect
|
23 |
-
* @copyright
|
24 |
-
|