Commit 80dd795d authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

! Fix Varien_Autoloader problem

parent acc11d7b
...@@ -312,7 +312,7 @@ USAGE; ...@@ -312,7 +312,7 @@ USAGE;
*/ */
protected function _fixAutoloader() protected function _fixAutoloader()
{ {
$autoloaderFile = $this->getArg('project') . DIRECTORY_SEPARATOR . 'lib/Varien/Autoloader.php'; $autoloaderFile = $this->getArg('project') . DIRECTORY_SEPARATOR . 'lib/Varien/Autoload.php';
file_put_contents( file_put_contents(
$autoloaderFile, $autoloaderFile,
...@@ -322,6 +322,7 @@ USAGE; ...@@ -322,6 +322,7 @@ USAGE;
file_get_contents($autoloaderFile) file_get_contents($autoloaderFile)
) )
); );
echo "Varien_Autoloader was patched\n"; echo "Varien_Autoloader was patched\n";
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment