Version Notes
1.9.2.2
Download this release
Release Info
Developer | Magento Core Team |
Extension | Lib_Mage |
Version | 1.9.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.2.1 to 1.9.2.2
- lib/Mage/Archive/Helper/File/Gz.php +15 -0
- package.xml +5 -5
lib/Mage/Archive/Helper/File/Gz.php
CHANGED
@@ -33,6 +33,21 @@
|
|
33 |
*/
|
34 |
class Mage_Archive_Helper_File_Gz extends Mage_Archive_Helper_File
|
35 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
/**
|
37 |
* @see Mage_Archive_Helper_File::_open()
|
38 |
*/
|
33 |
*/
|
34 |
class Mage_Archive_Helper_File_Gz extends Mage_Archive_Helper_File
|
35 |
{
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Overwritten Mage_Archive_Helper_File constructor with zlib extension check
|
39 |
+
* @param string $filePath
|
40 |
+
* @throws Mage_Exception
|
41 |
+
*/
|
42 |
+
public function __construct($filePath)
|
43 |
+
{
|
44 |
+
if (!function_exists('gzopen')) {
|
45 |
+
throw new Mage_Exception('PHP Extensions "zlib" must be loaded.');
|
46 |
+
}
|
47 |
+
|
48 |
+
parent::__construct($filePath);
|
49 |
+
}
|
50 |
+
|
51 |
/**
|
52 |
* @see Mage_Archive_Helper_File::_open()
|
53 |
*/
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lib_Mage</name>
|
4 |
-
<version>1.9.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Mage Library</summary>
|
10 |
<description>Mage Library</description>
|
11 |
-
<notes>1.9.2.
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelib"><dir name="Mage"><dir name="Archive"><file name="Abstract.php" hash="de4e571664fc07c3d9549f0fd267673c"/><file name="Bz.php" hash="2505695d644c59adc33e22a0e4b4026b"/><file name="Gz.php" hash="b1a8f824762096e9481c4cf867236e0f"/><dir name="Helper"><dir name="File"><file name="Bz.php" hash="c2ecedaf9f2f87da265e8d015f184483"/><file name="Gz.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Lib_Mage</name>
|
4 |
+
<version>1.9.2.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Mage Library</summary>
|
10 |
<description>Mage Library</description>
|
11 |
+
<notes>1.9.2.2</notes>
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
+
<date>2015-10-27</date>
|
14 |
+
<time>13:46:56</time>
|
15 |
+
<contents><target name="magelib"><dir name="Mage"><dir name="Archive"><file name="Abstract.php" hash="de4e571664fc07c3d9549f0fd267673c"/><file name="Bz.php" hash="2505695d644c59adc33e22a0e4b4026b"/><file name="Gz.php" hash="b1a8f824762096e9481c4cf867236e0f"/><dir name="Helper"><dir name="File"><file name="Bz.php" hash="c2ecedaf9f2f87da265e8d015f184483"/><file name="Gz.php" hash="344ce31479268cdc01681513a37cc442"/></dir><file name="File.php" hash="83b65b9f0ac67451501a9c9637f5079b"/></dir><file name="Interface.php" hash="082498bdccf0768d5dd074493a570ebb"/><file name="Tar.php" hash="3f68ba944d9c375a14e94d10ef9fe5b0"/></dir><file name="Archive.php" hash="6bb5cfd52d689a82580e56ed016c9d5c"/><dir name="Autoload"><file name="Simple.php" hash="79585aafc6ed3c63d9560f1975f7839f"/></dir><dir name="Backup"><file name="Abstract.php" hash="6dc4a21835d04a2b517d5c3fb097fa32"/><dir name="Archive"><file name="Tar.php" hash="b0ea407733eb0eddf2335eb04b6d4efd"/></dir><file name="Db.php" hash="82085d5187d2f98b3bba9843e13e9e73"/><dir name="Exception"><file name="CantLoadSnapshot.php" hash="5999c355894c14f1e2362f45a6ba057a"/><file name="FtpConnectionFailed.php" hash="7a1fa7df65b14879e06f416358e4bfe8"/><file name="FtpValidationFailed.php" hash="69af18f3940a28573735e51c09582906"/><file name="NotEnoughFreeSpace.php" hash="85aa48d06cbf0bbbff797dda79be5031"/><file name="NotEnoughPermissions.php" hash="66b048e085f4e22ff92165cf27eb154a"/></dir><file name="Exception.php" hash="faffb5273a8d7b3bc1ac23500b3738ed"/><dir name="Filesystem"><file name="Helper.php" hash="decd420b567cc2f6352e1fe32832b777"/><dir name="Iterator"><file name="File.php" hash="30cf1633496618f74849bc2374f031c8"/><file name="Filter.php" hash="1fe29804508aa85589ba1a8578f492a8"/></dir><dir name="Rollback"><file name="Abstract.php" hash="f9282d34c12a6030942554a80882bb4a"/><file name="Fs.php" hash="179ac7ecd47d54e9a5324d8c6dc27194"/><file name="Ftp.php" hash="c31b8da9f38b0dd03fa87832f74a388b"/></dir></dir><file name="Filesystem.php" hash="7db5e5dc7ac0703bb4944092d19b8153"/><file name="Interface.php" hash="649acb82500c3aa25d789ede57b6d824"/><file name="Media.php" hash="d23badc8294f743242e831a1ee08a235"/><file name="Nomedia.php" hash="f67824816890655d383cc2f6bde37cfd"/><file name="Snapshot.php" hash="c8a1ca0ecd577783cc685560a929953a"/></dir><file name="Backup.php" hash="cb1bdf9d812811d0cf5478fb74d651d6"/><dir name="Cache"><dir name="Backend"><file name="File.php" hash="e5cae99d5ae44908250e8efd9436f881"/><file name="Redis.php" hash="347c3b2c5d745df9f198d9c67cf035ee"/></dir></dir><dir name="Connect"><dir name="Channel"><file name="Generator.php" hash="8779c3d0bd0349fb084ba014aeebef08"/><file name="Parser.php" hash="710308a0983877f5397324ccde29ec64"/><file name="VO.php" hash="d5e083cac4674e60f3576c7f9245079e"/></dir><dir name="Command"><file name="Channels.php" hash="64a28e0922b180efae0b1505eb3a23c8"/><file name="Channels_Header.php" hash="c8801d31616e14fd17544d8ad91d8c71"/><file name="Config.php" hash="b4c3946a709c935285c7eef4e9893d95"/><file name="Config_Header.php" hash="be5819b085c2c25406169cc69db91efc"/><file name="Install.php" hash="4bc0690d8dae272ddcca882fbdc52cfa"/><file name="Install_Header.php" hash="b26353e14b18ca24135a8b3152eed832"/><file name="Package.php" hash="91daf698f9d027079aa3d4a70934e119"/><file name="Package_Header.php" hash="6875b32ecfc9be59d130814fb56ed35d"/><file name="Registry.php" hash="443008c5584a2e9b55674f07217ddabd"/><file name="Registry_Header.php" hash="9eaedec1fe480089c604580418579438"/><file name="Remote.php" hash="56b78c8f407460df4664d4455e879f0d"/><file name="Remote_Header.php" hash="d9b41a55a61c5c1e52abaff7a53fcc67"/></dir><file name="Command.php" hash="0fdfd17b49c24ebb994f27dd1d121144"/><file name="Config.php" hash="c452374e4ab10e53663d223c1bdd879f"/><file name="Converter.php" hash="a133fb8a9a1bb27f562daa734fb9f660"/><dir name="Frontend"><file name="CLI.php" hash="c1aeab2cce56ca6a6a1ea09db28897aa"/></dir><file name="Frontend.php" hash="d07caa4fe5b8f49b0ab45083eb6b1c51"/><file name="Ftp.php" hash="00039e4e1292e61e8932617cd57ab203"/><dir name="Loader"><file name="Ftp.php" hash="0332d94da7f3e58fc055fb80d53432a9"/></dir><file name="Loader.php" hash="3ca76a5329a1947d96e94bc316ca3099"/><dir name="Package"><file name="Extension.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Hotfix.php" hash="ae834feb24bf36fc188afc11736681f1"/><file name="Maintainer.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Reader.php" hash="c15f774cde56becedbdb3d363fac388c"/><file name="Target.php" hash="0e839847991ddaef741ae56daa936a6e"/><file name="VO.php" hash="cfbb4316314a742856bbe76e5d752512"/><file name="Writer.php" hash="8e41b3c89abe5a364bb32b56b6ae36de"/></dir><file name="Package.php" hash="94465bdc10578080364de3a9b20d4796"/><file name="Packager.php" hash="9ece3d292eabb6fec1393a021e4cef0d"/><dir name="Repository"><file name="Abstract.php" hash="710308a0983877f5397324ccde29ec64"/><dir name="Channel"><file name="Abstract.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Commercial.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Community.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Core.php" hash="710308a0983877f5397324ccde29ec64"/></dir><file name="Channel.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Local.php" hash="710308a0983877f5397324ccde29ec64"/></dir><file name="Repository.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Rest.php" hash="735bf347e40ba4e6b1eac377b5158d6d"/><file name="Singleconfig.php" hash="f20ebb89682bd0ebc929afb3a7bdba74"/><dir name="Structures"><file name="Graph.php" hash="1b983ae8aa539bb4ff21129b48cccffb"/><file name="Node.php" hash="80f04d92471471b1a04c8f719313fd26"/></dir><file name="Validator.php" hash="36f4954b54798c274ab3ea0e07ec8079"/></dir><dir name="DB"><file name="Exception.php" hash="9b86c22405d6004bb564caba5a2cd73d"/><file name="Mysqli.php" hash="3faca89f2023931bfcdcdb68c26eceaf"/></dir><file name="Exception.php" hash="66fd995ff284b4fd1138bb80fe688661"/><dir name="HTTP"><dir name="Client"><file name="Curl.php" hash="5abff2bfdeecdfc174c96d7bf9a681a5"/><file name="Socket.php" hash="094870f3dc66d9fda62d92bd7726bc30"/></dir><file name="Client.php" hash="36f8059fd5fe72b9698f6eff8a5eb051"/><file name="IClient.php" hash="e2fef2961c4e19ea6d0a32905a3f0cc9"/></dir><dir name="System"><file name="Args.php" hash="aa6e78d765e598733ea5b023ccc5fe28"/><file name="Dirs.php" hash="1e89ada96b371a2ee69397f83adafdad"/><file name="Ftp.php" hash="d147b0479742bed479c6f4db8d819d74"/></dir><dir name="Xml"><file name="Generator.php" hash="7a00666dea843e96f828b721d7ea0968"/><file name="Parser.php" hash="7054f38ca1b3f84f9b0bbc58aa4798e2"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|