Update config.php

This commit is contained in:
Fernando Méndez 2021-05-11 10:19:02 +02:00 committed by GitHub
parent ab5402b470
commit 2d14033940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -11,11 +11,13 @@
* Configuration parameters used to generate URLs and file paths in the application
*/
define('ROUTE_APP', '/'); //Change if it´s necessary.
define('RAIZ_APP', __DIR__);
/**
* Image files directory.
*/
define('FILMS_DIR', ROUTE_APP.'img/films');
define('FILMS_DIR', dirname(RAIZ_APP).'img/films');
define('FILMS_DIR_PROTECTED', RAIZ_APP.'img/films');
/**
* Utf-8 support settings, location (language and country) and time zone.