Skip to content

Configuration

FlexHD supports settings using the admin panel. But you can also set it in a conventional way by editing the config.php file.

login

You can visit the demo version, use username and pass as follows:

username: admin
password: password
username: admin
password: password

If you want to edit manually, you can find the confg.php file in the root of your domain.

.
├─ ...
├─ routes
├─ storage
├─ vendor
├─ ...
├─ .env
└─ config.php
.
├─ ...
├─ routes
├─ storage
├─ vendor
├─ ...
├─ .env
└─ config.php

Admin Panel

In the admin panel in the general section, you can set the following:

admin panel general

  • Site Name = to give a name to your website
  • Tmdb Api = Please change using the api key from your TMDB, you can create an account on TMDB for free
  • Include Adult = You can also include adult content if you activate this feature
  • Limit Casts = This is to limit the number of actors appearing in single films and TV shows
  • Limit Companies = This is to limit the number of production companies appearing on single films and TV shows
  • Favicon = Please change your favicon
  • Logo = Please change your logo
  • Default Language = You can specify the default language
  • Use Multilanguage = You can use the multi language or single language feature
  • Use Cache = Cache feature to speed up loading for your website. But this will require your hosting disk space.
  • Cache Expired = Determine how long the cache data will be stored in seconds and the data will be overwritten with new ones

Untuk Favicon dan Logo

Make sure that the APP_URL variable in your .env file matches the domain you're using to access your app from, including the protocol (http or https). This is usually the problem.

Config Manual

You can edit manually. For the general section, you can edit the values ​​in config.php with the following keys:

php
'site_name' => 'Nanosia',
'tmdb_api_key' => '892b7c8469f251441be840cf2aeb9d74',
'default_language' => 'en',
'cache_exp' => '86400',
'favicon' => 'favicon.ico',
'logo' => 'images/logo.png',
'use_cache' => true,
'use_multilanguage' => true,
'limit_casts' => '5',
'limit_companies' => '5',
'site_name' => 'Nanosia',
'tmdb_api_key' => '892b7c8469f251441be840cf2aeb9d74',
'default_language' => 'en',
'cache_exp' => '86400',
'favicon' => 'favicon.ico',
'logo' => 'images/logo.png',
'use_cache' => true,
'use_multilanguage' => true,
'limit_casts' => '5',
'limit_companies' => '5',