add namespace PmInstaller
This commit is contained in:
@@ -1,30 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* autoinstallProcess.php
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*/
|
||||
|
||||
use Processmaker\Core\Installer;
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
|
||||
$inst = new PmInstaller();
|
||||
$inst = new Installer();
|
||||
|
||||
$oProcess = new Processes();
|
||||
|
||||
|
||||
@@ -1,27 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* autoinstallProcess.php
|
||||
*
|
||||
* ProcessMaker Open Source Edition
|
||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*/
|
||||
$inst = new PmInstaller();
|
||||
|
||||
use Processmaker\Core\Installer;
|
||||
|
||||
$inst = new Installer();
|
||||
|
||||
$oProcess = new Processes();
|
||||
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
<?php
|
||||
|
||||
use Processmaker\Core\Installer;
|
||||
|
||||
global $RBAC;
|
||||
|
||||
$RBAC->allows(basename(__FILE__), basename(__FILE__));
|
||||
|
||||
if (isset( $_POST['form']['NW_TITLE'] )) {
|
||||
$action = (isset( $_POST['form']['ACTION'] )) ? trim( $_POST['form']['ACTION'] ) : 'test';
|
||||
$name = trim( $_POST['form']['NW_TITLE'] );
|
||||
$inst = new PmInstaller();
|
||||
$inst = new Installer();
|
||||
|
||||
$isset = $inst->isset_site( $name );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user