This commit is contained in:
Bojez Creative committed 2026-10-19 14:40:45 +07:00
1 parent cee85198be
commit 7ce772372f
7 files changed
+1230 -2

No files matched your search

+1060
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -14,10 +14,10 @@
# and set into the environment. This provides a simpler
# development workflow over standard environment variables.
export APP_NAME="__APP_NAME__"
export DEBUG="true"
export DEBUG="false"
export APP_ENCODING="UTF-8"
export APP_DEFAULT_LOCALE="en_US"
export APP_DEFAULT_TIMEZONE="UTC"
export APP_DEFAULT_TIMEZONE="Asia/Jakarta"
export SECURITY_SALT="__SALT__"
# Uncomment these to define cache configuration via environment variables.
+7
View File
@@ -0,0 +1,7 @@
<?php
return array (
'Adlinkfly' =>
array (
'installed' => 1,
),
);
+71
View File
@@ -0,0 +1,71 @@
<?php
use Cake\Database\Connection;
use Cake\Database\Driver\Mysql;
return [
'Security' => [
'salt' => 'w69oZ1IDcbYy5cHrzEq9CA62Ep8S1hwwqw7usWh9HMdJV1OkYw',
],
/**
* Connection information used by the ORM to connect
* to your application's datastores.
* Drivers include Mysql Postgres Sqlite Sqlserver
* See vendor\cakephp\cakephp\src\Database\Driver for complete list
*/
'Datasources' => [
'default' => [
'className' => Connection::class,
'driver' => Mysql::class,
'persistent' => false,
'host' => 'localhost',
'port' => '3306',
'username' => 'bojez_shortlink',
'password' => 'wdlL*6j6#j27Dd+K',
'database' => 'bojez_shortlink',
'encoding' => 'utf8',
'timezone' => 'UTC',
'flags' => [],
'cacheMetadata' => true,
'log' => false,
/**
* Set identifier quoting to true if you are using reserved words or
* special characters in your table or column names. Enabling this
* setting will result in queries built using the Query Builder having
* identifiers quoted when creating SQL. It should be noted that this
* decreases performance because each query needs to be traversed and
* manipulated before being executed.
*/
'quoteIdentifiers' => false,
/**
* During development, if using MySQL < 5.6, uncommenting the
* following line could boost the speed at which schema metadata is
* fetched from the database. It can also be set directly with the
* mysql configuration directive 'innodb_stats_on_metadata = 0'
* which is the recommended value in production environments
*/
'init' => ["SET SESSION sql_mode = ''"],
'url' => env('DATABASE_URL', null),
],
/**
* The test connection is used during the test suite.
*/
'test' => [
'className' => Connection::class,
'driver' => Mysql::class,
'persistent' => false,
'host' => 'localhost',
//'port' => 'non_standard_port_number',
'username' => 'my_app',
'password' => 'secret',
'database' => 'test_myapp',
'encoding' => 'utf8',
'timezone' => 'UTC',
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'log' => false,
//'init' => ['SET GLOBAL innodb_stats_on_metadata = 0'],
'url' => env('DATABASE_TEST_URL', null),
],
],
];
+85
View File
@@ -0,0 +1,85 @@
<?php
return [
/**
* Email configuration.
*
* By defining transports separately from delivery profiles you can easily
* re-use transport configuration across multiple profiles.
*
* You can specify multiple configurations for production, development and
* testing.
*
* Each transport needs a `className`. Valid options are as follows:
*
* Mail - Send using PHP mail function
* Smtp - Send using SMTP
* Debug - Do not send the email, just return the result
*
* You can add custom transports (or override existing transports) by adding the
* appropriate file to src/Mailer/Transport. Transports should be named
* 'YourTransport.php', where 'Your' is the name of the transport.
*/
'EmailTransport' => [
'default' => [
'className' => 'Mail'
],
'smtp' => [
'className' => 'Smtp',
// The following keys are used in SMTP transports
'host' => 'smtp-relay.brevo.com',
'port' => '587',
'timeout' => 30,
'username' => '[email protected]',
'password' => 'xsmtpsib-3e375e4bca1ff39610991cde30f8cf265621e5391bbfe7e4c5c024da1ac2ac21-Ej1yAcQrkNnPa2ZC',
'client' => null,
'tls' => true,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null),
'context' => [
'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true]
]
],
'mail2' => [
'className' => 'PHPMailerMail'
],
'sendmail' => [
'className' => 'PHPMailerSendmail'
],
],
/**
* Email delivery profiles
*
* Delivery profiles allow you to predefine various properties about email
* messages from your application and give the settings a name. This saves
* duplication across your application and makes maintenance and development
* easier. Each profile accepts a number of keys. See `Cake\Mailer\Email`
* for more information.
*/
'Email' => [
'default' => [
'transport' => 'default',
'from' => ['[email protected]' => 'Bojez Shortlink'],
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
'smtp' => [
'transport' => 'smtp',
'from' => ['[email protected]' => 'Bojez Shortlink'],
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
'mail2' => [
'transport' => 'mail2',
'from' => ['[email protected]' => 'Bojez Shortlink'],
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
'sendmail' => [
'transport' => 'sendmail',
'from' => ['[email protected]' => 'Bojez Shortlink'],
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
],
];
+5
View File
@@ -0,0 +1,5 @@
<div style="margin-top: 11%;" class="server-message">
<h1 style="font-size: 85px;margin: 0;font-weight: 300; line-height: 1.1;color:grey;text-align: center;">CyberPanel Installed</h1>
<h2 style="margin-top: 2%;margin-bottom: 2%;font-weight: 300; line-height: 1.1;color: #a56565;;text-align: center;">You have successfully installed CyberPanel, please remove this page and upload your website. :)</h2>
<p style="font-size: 35px;margin: 1%;font-weight: 300; line-height: 1.1;color:grey;text-align: center;"><a href="http://cyberpanel.net">Hosting Control Panel</a> <a href="https://community.cyberpanel.net/">Forums</a> <a href="https://community.cyberpanel.net/docs">Documentation</a></p>
</div>
View File
File renamed without changes.