This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] Net2FTP-Filemanager
#4
RE: [MODULE] Net2FTP-Filemanager
(09-17-2017, 12:56 AM)TGates Wrote: @[betatester3.0], if the module makes DB entries, you can do something like below in the remove.run file:

PHP Code:
<?php
// Sentastico Open Source Script Installer for Sentora CP
// Updated By       : TGates for Sentora
// Additional Work  : Durandle, Mudasir Mirza
// Contact Email    : tgates@sentora.org
// Original Author  : Bobby Allen

require_once('cnf/db.php');
require_once(
'dryden/db/driver.class.php');
require_once(
'dryden/debug/logger.class.php');
require_once(
'dryden/runtime/dataobject.class.php');
require_once(
'dryden/sys/versions.class.php');
require_once(
'dryden/ctrl/options.class.php');
require_once(
'dryden/ctrl/auth.class.php');
require_once(
'dryden/ctrl/users.class.php');
require_once(
'dryden/fs/director.class.php');
require_once(
'inc/dbc.inc.php');

function 
removeModule(){
 
   global $zdbh;
 
       
    
//delete table
 
   $stmt $zdbh->prepare("DROP TABLE `x_sentastico`");
 
   $stmt->execute();
}

removeModule();
?>

Thanks TGates, i will use that one my other module. Although Net2FTP does not need db entries, unless the owner of the panel would like to log the users logging's and details they can have the option to store it in the db but if they do not want to log it will not upload any db entries.

You could give the module a test and see if it works both ways with db and without db on your Linux system Smile
need someone to find them bugs lol
-BetaTester3.0  ||  Just Another Sentora User. 

Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw

Reply
Thanks given by:


Messages In This Thread
[MODULE] Net2FTP-Filemanager - by betatester3.0 - 09-04-2017, 02:10 AM
RE: [MODULE] Net2FTP-Filemanager - by TGates - 09-17-2017, 12:56 AM
RE: [MODULE] Net2FTP-Filemanager - by betatester3.0 - 09-17-2017, 10:23 PM
RE: [MODULE] Net2FTP-Filemanager - by imcanada - 10-14-2019, 03:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 94 288 ,933 05-30-2024, 05:25 AM
Last Post: TGates
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 44 ,879 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 49 ,360 06-04-2021, 11:47 AM
Last Post: ccr1969

Forum Jump:


Users browsing this thread: 1 Guest(s)