Done ! 403WebShell
403Webshell
Server IP : 194.181.228.65  /  Your IP : 216.73.216.25
Web Server : LiteSpeed
System : Linux wn13.webd.pl 5.14.0-687.46.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 11 09:03:19 EDT 2026 x86_64
User : prusit ( 133039)
PHP Version : 5.6.40
Disable Function : exec, system, shell_exec, passthru, proc_open, proc_close, popen
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/prusit/public_html/djriki/modules/simpletest/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/prusit/public_html/djriki/modules/simpletest/tests/update_script_test.install
<?php

/**
 * @file
 * Install, update and uninstall functions for the update_script_test module.
 */

/**
 * Implements hook_requirements().
 */
function update_script_test_requirements($phase) {
  $requirements = array();

  if ($phase == 'update') {
    // Set a requirements warning or error when the test requests it.
    $requirement_type = variable_get('update_script_test_requirement_type');
    switch ($requirement_type) {
      case REQUIREMENT_WARNING:
        $requirements['update_script_test'] = array(
          'title' => 'Update script test',
          'value' => 'Warning',
          'description' => 'This is a requirements warning provided by the update_script_test module.',
          'severity' => REQUIREMENT_WARNING,
        );
        break;
      case REQUIREMENT_ERROR:
        $requirements['update_script_test'] = array(
          'title' => 'Update script test',
          'value' => 'Error',
          'description' => 'This is a requirements error provided by the update_script_test module.',
          'severity' => REQUIREMENT_ERROR,
        );
        break;
      case REQUIREMENT_INFO:
        $requirements['update_script_test_stop'] = array(
          'title' => 'Update script test stop',
          'value' => 'Error',
          'description' => 'This is a requirements error provided by the update_script_test module to stop the page redirect for the info.',
          'severity' => REQUIREMENT_ERROR,
        );
        $requirements['update_script_test'] = array(
          'title' => 'Update script test',
          'description' => 'This is a requirements info provided by the update_script_test module.',
          'severity' => REQUIREMENT_INFO,
        );
        break;
    }
  }

  return $requirements;
}

/**
 * Dummy update function to run during the tests.
 */
function update_script_test_update_7000() {
  return t('The update_script_test_update_7000() update was executed successfully.');
}

Youez - 2016 - github.com/yon3zu
LinuXploit