REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 856 B
Close
//home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger-reach/src/Setup/Database.php
Text
Base64
<?php namespace Hostinger\Reach\Setup; use Hostinger\Reach\Admin\Database\DatabaseTable; if ( ! defined( 'ABSPATH' ) ) { die; } class Database { /** @var DatabaseTable[] */ private array $tables; public function __construct( array $tables ) { $this->tables = $tables; } public function init(): void { $db_version_option = HOSTINGER_REACH_PLUGIN_SLUG . '-db-version'; $database_version = get_option( $db_version_option, '' ); if ( $database_version !== HOSTINGER_REACH_DB_VERSION ) { $this->create_tables(); update_option( $db_version_option, HOSTINGER_REACH_DB_VERSION, false ); } } private function create_tables(): void { foreach ( $this->tables as $table ) { $table->create(); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Activator.php
1.20 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Assets.php
26.55 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Blocks.php
882 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Database.php
856 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Encrypt.php
1.34 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).