|
|
@@ -36,35 +36,6 @@ function siteBuilder_MetaData() {
|
|
|
);
|
|
|
}
|
|
|
function siteBuilder_ConfigOptions() {
|
|
|
- // Create a new table.
|
|
|
- try {
|
|
|
- Capsule::schema()->create(
|
|
|
- 'sitePro_acc',
|
|
|
- function ($table) {
|
|
|
- /** @var \Illuminate\Database\Schema\Blueprint $table */
|
|
|
- $table->increments('id');
|
|
|
- $table->string('account');
|
|
|
- $table->integer('pid');
|
|
|
- $table->boolean('enabled');
|
|
|
- }
|
|
|
- );
|
|
|
- } catch (\Exception $e) {
|
|
|
- echo "Unable to create sitePro_acc: {$e->getMessage()}";
|
|
|
- }
|
|
|
- try {
|
|
|
- Capsule::schema()->create(
|
|
|
- 'sitePro_dom',
|
|
|
- function ($table) {
|
|
|
- /** @var \Illuminate\Database\Schema\Blueprint $table */
|
|
|
- $table->increments('id');
|
|
|
- $table->integer('relid');
|
|
|
- $table->string('domain');
|
|
|
- $table->boolean('enabled');
|
|
|
- }
|
|
|
- );
|
|
|
- } catch (\Exception $e) {
|
|
|
- echo "Unable to create sitePro_dom: {$e->getMessage()}";
|
|
|
- }
|
|
|
return ["BuilderURL" => [
|
|
|
"FriendlyName" => "Builder URL", # Full Builder URL (prefix//hostname:port/)
|
|
|
"Type" => "text", # Text Box
|