!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/site/ipanel/app/core/doctrine/Doctrine/Migration/   drwxr-xr-x
Free 9.26 GB of 93.48 GB (9.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Process.php (6.3 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 *  $Id: Process.php 1080 2007-02-10 18:17:08Z jwage $
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * This software consists of voluntary contributions made by many individuals
 * and is licensed under the LGPL. For more information, see
 * <http://www.phpdoctrine.org>.
 */

/**
 * Doctrine_Migration_Process
 *
 * @package     Doctrine
 * @subpackage  Migration
 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
 * @link        www.phpdoctrine.org
 * @since       1.0
 * @version     $Revision: 1080 $
 * @author      Jonathan H. Wage <jwage@mac.com>
 */
class Doctrine_Migration_Process
{
    protected
        
$_migration;

    public function 
__construct(Doctrine_Migration $migration)
    {
        
$this->_migration $migration;
    }

    public function 
getConnection()
    {
        return 
$this->_migration->getConnection();
    }

    
/**
     * Process a created table change
     *
     * @param string $table Table definition
     * @return void
     */
    
public function processCreatedTable(array $table)
    {
        
$this->getConnection()->export->createTable($table['tableName'], $table['fields'], $table['options']);
    }

    
/**
     * Process a dropped table change
     *
     * @param array $table Table definition
     * @return void
     */
    
public function processDroppedTable(array $table)
    {
        
$this->getConnection()->export->dropTable($table['tableName']);
    }

    
/**
     * Process a renamed table change
     *
     * @param array $table Renamed table definition
     * @return void
     */
    
public function processRenamedTable(array $table)
    {
        
$this->getConnection()->export->alterTable($table['oldTableName'], array('name' => $table['newTableName']));
    }

    
/**
     * Process a created column change
     *
     * @param array $column Column definition
     * @return void
     */
    
public function processCreatedColumn(array $column)
    {
        
$this->getConnection()->export->alterTable($column['tableName'], array('add' => array($column['columnName'] => $column)));
    }

    
/**
     * Process a dropped column change
     *
     * @param array $column Column definition
     * @return void
     */
    
public function processDroppedColumn(array $column)
    {
        
$this->getConnection()->export->alterTable($column['tableName'], array('remove' => array($column['columnName'] => array())));
    }

    
/**
     * Process a renamed column change
     *
     * @param array $column Column definition
     * @return void
     */
    
public function processRenamedColumn(array $column)
    {
        
$columnList $this->getConnection()->import->listTableColumns($column['tableName']);
        if (isset(
$columnList[$column['oldColumnName']])) {
            
$this->getConnection()->export->alterTable($column['tableName'], array('rename' => array($column['oldColumnName'] => array('name' => $column['newColumnName'], 'definition' => $columnList[$column['oldColumnName']]))));
        }
    }

    
/**
     * Process a changed column change
     *
     * @param array $column Changed column definition
     * @return void
     */
    
public function processChangedColumn(array $column)
    {
        
$options = array();
        
$options $column['options'];
        
$options['type'] = $column['type'];
    
        
$this->getConnection()->export->alterTable($column['tableName'], array('change' => array($column['columnName'] => array('definition' => $options))));
    }

    
/**
     * Process a created index change
     *
     * @param array $index Index definition
     * @return void
     */
    
public function processCreatedIndex(array $index)
    {
        
$this->getConnection()->export->createIndex($index['tableName'], $index['indexName'], $index['definition']);
    }

    
/**
     * Process a dropped index change
     *
     * @param array $index Index definition
     * @return void
     */
    
public function processDroppedIndex(array $index)
    {
        
$this->getConnection()->export->dropIndex($index['tableName'], $index['indexName']);
    }

    
/**
     * Process a created constraint change
     *
     * @param array $constraint Constraint definition
     * @return void
     */
    
public function processCreatedConstraint(array $constraint)
    {
        
$this->getConnection()->export->createConstraint($constraint['tableName'], $constraint['constraintName'], $constraint['definition']);
    }

    
/**
     * Process a dropped constraint change
     *
     * @param array $constraint Constraint definition
     * @return void
     */
    
public function processDroppedConstraint(array $constraint)
    {
        
$this->getConnection()->export->dropConstraint($constraint['tableName'], $constraint['constraintName'], isset($constraint['definition']['primary']) && $constraint['definition']['primary']);
    }

    
/**
     * Process a created foreign key change
     *
     * @param array $foreignKey Foreign key definition
     * @return void
     */
    
public function processCreatedForeignKey(array $foreignKey)
    {
        
$this->getConnection()->export->createForeignKey($foreignKey['tableName'], $foreignKey['definition']);
    }

    
/**
     * Process a dropped foreign key change
     *
     * @param array $foreignKey
     * @return void
     */
    
public function processDroppedForeignKey(array $foreignKey)
    {
        
$this->getConnection()->export->dropForeignKey($foreignKey['tableName'], $foreignKey['definition']['name']);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0068 ]--