Server IP : 172.67.158.161 / Your IP : 3.136.20.100 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/cwd/wp-content/plugins/woocommerce/vendor/composer/installers/src/Composer/Installers/ |
Upload File : |
<?php namespace Composer\Installers; class PlentymarketsInstaller extends BaseInstaller { protected $locations = array( 'plugin' => '{$name}/' ); /** * Remove hyphen, "plugin" and format to camelcase * @param array $vars * * @return array */ public function inflectPackageVars($vars) { $vars['name'] = explode("-", $vars['name']); foreach ($vars['name'] as $key => $name) { $vars['name'][$key] = ucfirst($vars['name'][$key]); if (strcasecmp($name, "Plugin") == 0) { unset($vars['name'][$key]); } } $vars['name'] = implode("",$vars['name']); return $vars; } }