Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/strapi/lib/load/check-reserved-filename.js
Назад
'use strict'; const _ = require('lodash'); // files to load with filename key const prefixedPaths = [ 'functions', 'policies', 'locales', 'hook', 'middleware', 'language', 'layout', ]; module.exports = function checkReservedFilenames(file) { return _.some(prefixedPaths, e => file.indexOf(`config/${e}`) >= 0) ? true : false; };
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка