The project settings are located in the file config.php. For a new project, rename the file config-dist.php to file config.php
- configuration of module 'core'
core/is_debug - debug mode debug in this mode appear PHP errors since initialization module 'core'; also in debug mode Blade template engine disables template caching; debug mode is disabled by default;
php_flag display_errors on
- connection parameters to
core/database/is_use - indicates whether the database is connected; if false, then the database is not being used; default false;
core/database/host - address of the server database;
core/database/port - the port number of the database server;
core/database/user - user;
core/database/pass - password;
core/database/base - name of the database;
- list of used
by default ['ru' = > 'Russian', ' en ' = 'English']; the primary language is specified first;
for the main language, the language prefix is not added to the address bar;
the values of the list array are displayed in the language selection menu;
the values of the list array can be displayed in the HTML layout in the language selection menu;
the captions of the menu items are always in English so that a person
who does not speak another language can easily find their language;
- indicates that the inclusion of
disabled by default; authorization is not implemented in this version,
therefore, the inclusion of the sign to anything will not lead.
core/user/id - user id in the database; currently not used.
core/user/prod_code - product code; default 'aleksmir-core'; used when forming the path to the layout elements for the product, located in the /public/product directory;
core/user/enter_code - the organization code; by default, 'aleksmir'; used when forming the path to the layout elements for the product, located in the /public/company directory;
core/user/enter_skin - the theme code; by default, 'default; used when forming the path to the template pages, located in the directory /public/view;
core/route/index - the name of the template for the index file of the main page that opens with the URL equal to'/'; default is 'core.main.index'.
core/view/url_cache - the path to the directory of compiled templates the Blade template engine; default is '/temp/blade'.
- list of project modules used;
by default ['Example'].