Remove media menu option and verify route handling
This commit is contained in:
15
admin/config/admin.json
Normal file
15
admin/config/admin.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"users": [
|
||||
{
|
||||
"username": "admin",
|
||||
"password_hash": "$2y$12$nUpoaCNZZFL8kOTHNC85q.dTy0hWRmPoF3dAn4GcvSXERMioYr5b6",
|
||||
"role": "admin",
|
||||
"created": "2025-01-01"
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
"session_timeout": 1800,
|
||||
"max_login_attempts": 5,
|
||||
"lockout_duration": 900
|
||||
}
|
||||
}
|
||||
17
admin/config/app.php
Normal file
17
admin/config/app.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'name' => 'CodePress Admin',
|
||||
'version' => '1.0.0',
|
||||
'debug' => $_ENV['APP_DEBUG'] ?? false,
|
||||
'timezone' => 'Europe/Amsterdam',
|
||||
|
||||
// Paths
|
||||
'admin_root' => __DIR__ . '/../',
|
||||
'codepress_root' => __DIR__ . '/../../',
|
||||
'content_dir' => __DIR__ . '/../../content/',
|
||||
'config_json' => __DIR__ . '/../../config.json',
|
||||
'plugins_dir' => __DIR__ . '/../../plugins/',
|
||||
'admin_config' => __DIR__ . '/admin.json',
|
||||
'log_file' => __DIR__ . '/../storage/logs/admin.log',
|
||||
];
|
||||
Reference in New Issue
Block a user