Skip to content
Permalink
Browse files
imagick extension added to CyberPanel PHP Extension Installer
  • Loading branch information
usmannasir committed Aug 25, 2019
1 parent dde0ab9 commit d6a9e15c60813cd3181d608e7ef25ae060018aca
Showing with 58 additions and 0 deletions.
  1. +6 −0 managePHP/php70.xml
  2. +6 −0 managePHP/php71.xml
  3. +6 −0 managePHP/php72.xml
  4. +6 −0 managePHP/php73.xml
  5. +6 −0 managePHP/ubuntuphp70.xml
  6. +6 −0 managePHP/ubuntuphp71.xml
  7. +6 −0 managePHP/ubuntuphp72.xml
  8. +6 −0 managePHP/ubuntuphp73.xml
  9. +8 −0 managePHP/views.py
  10. +2 −0 plogical/cPanelImporter.py
@@ -266,4 +266,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp70-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -266,4 +266,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp71-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -266,4 +266,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp72-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -266,4 +266,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp73-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -116,4 +116,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp70-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -116,4 +116,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp71-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -116,4 +116,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp72-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -116,4 +116,10 @@
<status>0</status>
</extension>

<extension>
<extensionName>lsphp73-pecl-imagick</extensionName>
<extensionDescription>Extension to create and modify images using ImageMagick</extensionDescription>
<status>0</status>
</extension>

</php>
@@ -1001,6 +1001,7 @@ def installExtensions(request):

phpExtension.save()


## non-active packages


@@ -1067,6 +1068,13 @@ def installExtensions(request):

phpExtension.save()

phpExtension = installedPackages(phpVers=php56,
extensionName="lsphp56-pecl-imagick",
description="Extension to create and modify images using ImageMagick",
status=0)

phpExtension.save()

### ################ #################

##### Gather php 70 information
@@ -617,6 +617,8 @@ def RestoreDatabases(self):
DatabasesPath = '%s/mysql' % (CompletPathToExtractedArchive)

for items in os.listdir(DatabasesPath):
if items.find('roundcube') > -1:
continue
if items.endswith('.sql'):
message = 'Restoring MySQL dump for %s.' % (items.replace('.sql', ''))
logging.statusWriter(self.logFile, message, 1)

0 comments on commit d6a9e15

Please sign in to comment.