Fix class name PmPhing
This commit is contained in:
David Callizaya
2017-08-11 16:41:04 -04:00
parent ab9c67fb47
commit 60c6a16a6e
2 changed files with 3 additions and 39 deletions

View File

@@ -1,47 +1,11 @@
<?php
/**
* class.ArrayPeer.php
*
* @package workflow.engine.classes
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2011 Colosa Inc.
*
* 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.
*
*/
/**
* Phing Class Wrapper
*
* @author Erik Amaru Ortiz <erik@colosa.com>
*/
include_once 'phing/Phing.php';
set_include_path( PATH_THIRDPARTY . 'propel-generator/classes/' . PATH_SEPARATOR . get_include_path() );
if (! class_exists( 'Phing' )) {
throw new Exception( 'Fatal Error: Phing is not loaded!' );
}
class pmPhing extends Phing
class PmPhing extends Phing
{
public function getPhingVersion()
{
return 'pmPhing Ver 1.0';

View File

@@ -914,7 +914,7 @@ class PmTable
Phing::startup();
Phing::setProperty('phing.home', getenv('PHING_HOME'));
$m = new pmPhing();
$m = new PmPhing();
$m->execute($args);
$m->runBuild();
}