mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 00:48:57 +02:00
Tweaks and fixes.
This commit is contained in:
@@ -316,12 +316,13 @@ class EncryptTask extends AbstractTask
|
||||
* Switch our current source dir to the ioncube srouce dir and create new empty dir to encrypt into
|
||||
* Write the IonCube project file (this is the file that controls IonCube encoder)
|
||||
* Run IonCube encoder
|
||||
* Delete the tempory files that we created (so long as we hadn't set 'keeptemp')
|
||||
* Delete the temporary files that we created (so long as we hadn't set 'keeptemp')
|
||||
* Return the result of the IonCube encoder
|
||||
*
|
||||
* @see \Mage\Task\AbstractTask::run()
|
||||
*
|
||||
* @return bool
|
||||
* @return boolan
|
||||
* @throws \Mage\Task\ErrorWithMessageException
|
||||
*/
|
||||
public function run() {
|
||||
$this->switchSrcToTmp ();
|
||||
|
||||
@@ -28,10 +28,11 @@ class Factory
|
||||
* Gets an instance of a Task.
|
||||
*
|
||||
* @param string|array $taskData
|
||||
* @param Mage\Config $taskConfig
|
||||
* @param \Mage\Config $taskConfig
|
||||
* @param boolean $inRollback
|
||||
* @param string $stage
|
||||
* @return \Mage\Task\AbstractTask
|
||||
* @throws \Exception|\Mage\Task\ErrorWithMessageException
|
||||
*/
|
||||
public static function get($taskData, Config $taskConfig, $inRollback = false, $stage = null)
|
||||
{
|
||||
@@ -44,7 +45,7 @@ class Factory
|
||||
}
|
||||
|
||||
$instance = null;
|
||||
$taskName = ucwords(str_replace('-', ' ', $taskName));
|
||||
$taskName = ucwords(str_replace('-', ' ', $taskName));
|
||||
$taskName = str_replace(' ', '', $taskName);
|
||||
|
||||
if (strpos($taskName, '/') === false) {
|
||||
|
||||
Reference in New Issue
Block a user