-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
90 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
Dot\DebugBar\DebugBar::class => [ | ||
/** | ||
* Enable/Disable DebugBar | ||
*/ | ||
'enabled' => false, | ||
|
||
/** | ||
* Enable DebugBar by whitelisting your IPV4 address | ||
*/ | ||
'ipv4Whitelist' => [ | ||
'127.0.0.1', | ||
], | ||
|
||
/** | ||
* Enable DebugBar by whitelisting your IPV6 address | ||
*/ | ||
'ipv6Whitelist' => [ | ||
'::1', | ||
], | ||
|
||
/** | ||
* @see \DebugBar\JavascriptRenderer::setOptions() | ||
*/ | ||
'javascript_renderer' => [ | ||
'base_url' => '', | ||
'base_path' => '', | ||
'disable_jquery' => true, | ||
'disable_fontawesome' => false, | ||
'disable_highlightjs' => false, | ||
], | ||
'application' => [ | ||
'name' => 'DotKernel', | ||
'url' => 'a', | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,42 +13,41 @@ $baseUrl = 'http://dotkernel.local'; | |
|
||
$databases = [ | ||
'default' => [ | ||
'host' => 'localhost', | ||
'dbname' => '', | ||
'user' => '', | ||
'host' => 'localhost', | ||
'dbname' => '', | ||
'user' => '', | ||
'password' => '', | ||
'port' => 3306, | ||
'driver' => 'pdo_mysql', | ||
'charset' => 'utf8mb4', | ||
'collate' => 'utf8mb4_general_ci', | ||
'port' => 3306, | ||
'driver' => 'pdo_mysql', | ||
'charset' => 'utf8mb4', | ||
'collate' => 'utf8mb4_general_ci', | ||
], | ||
// you can add more database connections into this array | ||
]; | ||
|
||
return [ | ||
'annotations_cache_dir' => getcwd() . '/data/cache/annotations', | ||
'application' => [ | ||
'application' => [ | ||
'name' => 'DotKernel', | ||
'url' => $baseUrl, | ||
'url' => $baseUrl, | ||
], | ||
'databases' => $databases, | ||
'doctrine' => [ | ||
'databases' => $databases, | ||
'doctrine' => [ | ||
'connection' => [ | ||
'orm_default' => [ | ||
'params' => $databases['default'], | ||
], | ||
], | ||
], | ||
'uploads' => [ | ||
'uploads' => [ | ||
'user' => [ | ||
'url' => $baseUrl . '/uploads/user', | ||
'path' => \realpath(__DIR__ . '/../../public/uploads/user'), | ||
'path' => realpath(__DIR__ . '/../../public/uploads/user'), | ||
], | ||
], | ||
'contact' => [ | ||
'notification_receivers' => [ | ||
], | ||
'message_receivers' => [ | ||
'contact' => [ | ||
'notification_receivers' => [], | ||
'message_receivers' => [ | ||
'to' => [ | ||
'[email protected]', | ||
], | ||
|
@@ -57,31 +56,29 @@ return [ | |
], | ||
], | ||
], | ||
'translator' => [ | ||
'cookie' => [ | ||
'name' => 'dk30Translator', | ||
'translator' => [ | ||
'cookie' => [ | ||
'name' => 'dk30Translator', | ||
'lifetime' => 3600 * 24 * 30, | ||
], | ||
|
||
'default' => 'en', | ||
'locale' => [ | ||
'default' => 'en', | ||
'locale' => [ | ||
'en' => 'en_EN', | ||
'dk' => 'da_DK', | ||
], | ||
'code_set' => 'UTF-8', | ||
'domain' => 'messages', | ||
'domain' => 'messages', | ||
'base_dir' => getcwd() . '/data/language', | ||
], | ||
'recaptcha' => [ | ||
'recaptcha' => [ | ||
'scoreThreshold' => 0.5, | ||
'siteKey' => '', | ||
'secretKey' => '', | ||
'verifyUrl' => 'https://www.google.com/recaptcha/api/siteverify', | ||
'siteKey' => '', | ||
'secretKey' => '', | ||
'verifyUrl' => 'https://www.google.com/recaptcha/api/siteverify', | ||
], | ||
|
||
'rememberMe' => [ | ||
'rememberMe' => [ | ||
'cookie' => [ | ||
'name' => 'rememberMe', | ||
'name' => 'rememberMe', | ||
'lifetime' => 3600 * 24 * 30, | ||
], | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,6 @@ | |
|
||
namespace Frontend\Page\Service; | ||
|
||
/** | ||
* Interface PageService | ||
*/ | ||
interface PageServiceInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters