Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Custom Script DB File



Threaded Mode | Print  

 Custom Script DB File, Howto create SQL File to multi domain (1 Replies, Read 2171 times)
Guest
Group: Guest
Status:
Dear NOC,

  I need to create a custom script and need to import SQL file for multi domain, but my SQL statement with a lot of domain info (URL, Admin user, Admin email...), how can i use a single SQL File for multi domain

Thanks
IP: --   

Custom Script DB File
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5805
Status:
Hi,

You should replace such variables with [[VARIABLE_NAME]] in the sql file and the admin user email is generated in the install.xml file which asks the user for details on the install form. You can define your custom variables in the array $__settings['VARIABLE_NAME'] in install.php

You can read the detailed documentation here:
http://softaculous.com/docs/How_to_make_a_Package

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 15, 2025, 5:07 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.395