Does DirectAdmin support plugin entirely written in Python?

gnusys

New member
Joined
Jul 1, 2019
Messages
2
I have a plugin written for cPanel control panel and wish to port the same to DirectAdmin . The plugin is written entirely in python and cPanel does support plugin in any language and has good support for PHP/Perl and almost good support for other languages

My Question is: Does DA support plugin written in any language? and if yes do you have a doc for such ?
 
Ok,

we also study, we are coming from cPanel, and have a lot to convert. At 1st we are a little desorientated, which is normal...
 
You're welcome. If you have questions please feel free to ask. Generally you create files:

plugins/PLUGIN_NAME/admin/index.html - for admin level
plugins/PLUGIN_NAME/reseller/index.html - for reseller level
plugins/PLUGIN_NAME/user/index.html - for user level

with 755 permissions, and then you can call any program from the file. Like this for example a plugin for CSF/LFD:

perl:

Code:
#!/usr/bin/perl


$| = 1;


system ("/usr/local/directadmin/plugins/csf/exec/csf");

or whichever call with PHP/Python/Bash
 
Hi
I want deploy site by Language Python and Framework Django, when login to panel directadmin, can not find python in Extra Features. please help to me!!
I have use Server Centos 7 and Direcadmin 1.61.5
 
Back
Top