delete settings1
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
#----------------------------------------------------------------------------------------------------
|
|
||||||
# Denied entry to this directory and its subdirectories
|
|
||||||
#----------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
Deny from all
|
|
||||||
@@ -1,135 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Scripts
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| CDN Javascript links.
|
|
||||||
|
|
|
||||||
| It can be used with the Import::script() method.
|
|
||||||
|
|
|
||||||
| Example: Import::script('jquery', 'react');
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'scripts' =>
|
|
||||||
[
|
|
||||||
'jquery' => 'https://code.jquery.com/jquery-latest.js',
|
|
||||||
'jqueryUi' => 'https://code.jquery.com/ui/1.11.3/jquery-ui.js',
|
|
||||||
'jqueryValidator' => 'https://cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.26/jquery.form-validator.min.js',
|
|
||||||
'bootstrap' => 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js',
|
|
||||||
'bootstrap4' => 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js',
|
|
||||||
'bootlint' => 'https://maxcdn.bootstrapcdn.com/bootlint/0.14.1/bootlint.min.js',
|
|
||||||
'angular' => 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular.min.js',
|
|
||||||
'react' => 'https://cdnjs.cloudflare.com/ajax/libs/react/15.5.4/react.min.js',
|
|
||||||
'vue' => 'https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.3/vue.min.js',
|
|
||||||
'datatables' => 'https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js',
|
|
||||||
'autoFillDatatables' => 'https://cdn.datatables.net/autofill/2.2.0/js/dataTables.autoFill.min.js',
|
|
||||||
'buttonsDatatables' => 'https://cdn.datatables.net/buttons/1.3.1/js/dataTables.buttons.min.js',
|
|
||||||
'columnVisibilityDatatables' => 'https://cdn.datatables.net/buttons/1.3.1/js/buttons.colVis.min.js',
|
|
||||||
'flashButtonsDatatables' => 'https://cdn.datatables.net/buttons/1.3.1/js/buttons.flash.min.js',
|
|
||||||
'html5ButtonsDatatables' => 'https://cdn.datatables.net/buttons/1.3.1/js/buttons.html5.min.js',
|
|
||||||
'printButtonDatatables' => 'https://cdn.datatables.net/buttons/1.3.1/js/buttons.print.min.js',
|
|
||||||
'columnReorderDatatables' => 'https://cdn.datatables.net/colreorder/1.3.3/js/dataTables.colReorder.min.js',
|
|
||||||
'fixedColumnsDatatables' => 'https://cdn.datatables.net/fixedcolumns/3.2.2/js/dataTables.fixedColumns.min.js',
|
|
||||||
'fixedHeaderDatatables' => 'https://cdn.datatables.net/fixedheader/3.1.2/js/dataTables.fixedHeader.min.js',
|
|
||||||
'keyTableDatatables' => 'https://cdn.datatables.net/keytable/2.2.1/js/dataTables.keyTable.min.js',
|
|
||||||
'responsiveDatatables' => 'https://cdn.datatables.net/responsive/2.1.1/js/dataTables.responsive.min.js',
|
|
||||||
'rowGroupDatatables' => 'https://cdn.datatables.net/rowgroup/1.0.0/js/dataTables.rowGroup.min.js',
|
|
||||||
'rowReorderDatatables' => 'https://cdn.datatables.net/rowreorder/1.2.0/js/dataTables.rowReorder.min.js',
|
|
||||||
'scrollerDatatables' => 'https://cdn.datatables.net/scroller/1.4.2/js/dataTables.scroller.min.js',
|
|
||||||
'selectDatatables' => 'https://cdn.datatables.net/select/1.2.2/js/dataTables.select.min.js',
|
|
||||||
'morris' => 'https://cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js',
|
|
||||||
'raphael' => 'https://cdnjs.cloudflare.com/ajax/libs/raphael/2.2.7/raphael.js',
|
|
||||||
'select2' => 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js',
|
|
||||||
'flexSlider' => 'https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.3/jquery.flexslider.js',
|
|
||||||
'ace' => 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js',
|
|
||||||
'sweetAlert' => 'https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js',
|
|
||||||
'dropzone' => 'https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.2.0/min/dropzone.min.js',
|
|
||||||
'tinymce' => 'https://cloud.tinymce.com/stable/tinymce.min.js'
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Styles
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| CDN CSS links.
|
|
||||||
|
|
|
||||||
| It can be used with the Import::style() method.
|
|
||||||
|
|
|
||||||
| Example: Import::style('bootstrap', 'awesome');
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'styles' =>
|
|
||||||
[
|
|
||||||
'bootstrap' => 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css',
|
|
||||||
'bootstrap4' => 'https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css',
|
|
||||||
'awesome' => 'https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css',
|
|
||||||
'datatables' => 'https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css',
|
|
||||||
'autoFillDatatables' => 'https://cdn.datatables.net/autofill/2.2.0/css/autoFill.dataTables.min.css',
|
|
||||||
'buttonsDatatables' => 'https://cdn.datatables.net/buttons/1.3.1/css/buttons.dataTables.min.css',
|
|
||||||
'columnReorderDatatables' => 'https://cdn.datatables.net/colreorder/1.3.3/css/colReorder.dataTables.min.css',
|
|
||||||
'fixedColumnsDatatables' => 'https://cdn.datatables.net/fixedcolumns/3.2.2/css/fixedColumns.dataTables.min.css',
|
|
||||||
'fixedHeaderDatatables' => 'https://cdn.datatables.net/fixedheader/3.1.2/css/fixedHeader.dataTables.min.css',
|
|
||||||
'keyTableDatatables' => 'https://cdn.datatables.net/keytable/2.2.1/css/keyTable.dataTables.min.css',
|
|
||||||
'responsiveDatatables' => 'https://cdn.datatables.net/responsive/2.1.1/css/responsive.dataTables.min.css',
|
|
||||||
'rowGroupDatatables' => 'https://cdn.datatables.net/rowgroup/1.0.0/css/rowGroup.dataTables.min.css',
|
|
||||||
'rowReorderDatatables' => 'https://cdn.datatables.net/rowreorder/1.2.0/css/rowReorder.dataTables.min.css',
|
|
||||||
'scrollerDatatables' => 'https://cdn.datatables.net/scroller/1.4.2/css/scroller.dataTables.min.css',
|
|
||||||
'selectDatatables' => 'https://cdn.datatables.net/select/1.2.2/css/select.dataTables.min.css',
|
|
||||||
'morris' => 'https://cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.css',
|
|
||||||
'datepicker' => 'https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css',
|
|
||||||
'select2' => 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css',
|
|
||||||
'flexSlider' => 'https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.3/flexslider.css',
|
|
||||||
'sweetAlert' => 'https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css',
|
|
||||||
'dropzone' => 'https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.2.0/min/dropzone.min.css'
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Fonts
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| CDN Font links.
|
|
||||||
|
|
|
||||||
| It can be used with the CDN::font() method.
|
|
||||||
|
|
|
||||||
| Example: CDN::font('robotic');
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'fonts' => [],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Images
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| CDN Image links.
|
|
||||||
|
|
|
||||||
| It can be used with the CDN::image() method.
|
|
||||||
|
|
|
||||||
| Example: CDN::image('wallpaper');
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'images' => [],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Files
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| CDN Files links.
|
|
||||||
|
|
|
||||||
| It can be used with the CDN::file() method.
|
|
||||||
|
|
|
||||||
| Example: CDN::file('note');
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'files' => []
|
|
||||||
];
|
|
||||||
@@ -1,114 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Regex
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| You can specify your custom regular expressions that
|
|
||||||
| you want to use for the route.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'regex' =>
|
|
||||||
[
|
|
||||||
'{id}' => '[0-9]+'
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Symbols
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| You can create usable expressions with the Symbol library.
|
|
||||||
|
|
|
||||||
| Example: Symbol::sum()
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'symbols' =>
|
|
||||||
[
|
|
||||||
'sum' => '∑', // ∑
|
|
||||||
'empty' => '∅' // ∅
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Mimem Types
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| You can create new types of mime that are available with Mime library.
|
|
||||||
|
|
|
||||||
| Example: Mime::xlsxx()
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'mimeTypes' => [],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Accent Chars
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| You can specify the characters you want to be converted with the
|
|
||||||
| Converter::accent() method.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'accentChars' =>
|
|
||||||
[
|
|
||||||
'œ' => 'oe',
|
|
||||||
'ü' => 'u'
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Different Font Extensions
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Default fonts SVG, WOFF, EOT, OTF, TTF. You can also specify types that
|
|
||||||
| can be called with the Import::font() method.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'differentFontExtensions' => [],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Document Types
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Apart from the built-in document type, you can add the document type
|
|
||||||
| yourself. You can use these definitions with Masterpage.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'doctypes' => [],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Date Languages
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Language equivalents for the Date class, depending on the language.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'date' =>
|
|
||||||
[
|
|
||||||
'tr' =>
|
|
||||||
[
|
|
||||||
'months' => ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'],
|
|
||||||
'shortMonths' => ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],
|
|
||||||
'weekdays' => ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'],
|
|
||||||
'shortWeekdays' => ['Paz', 'Pts', 'Sal', 'Çar', 'Per', 'Cum', 'Cts']
|
|
||||||
],
|
|
||||||
'en' =>
|
|
||||||
[
|
|
||||||
'months' => ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
|
||||||
'shortMonths' => ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
||||||
'weekdays' => ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
||||||
'shortWeekdays' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
|
|
||||||
]
|
|
||||||
]
|
|
||||||
];
|
|
||||||
@@ -1,116 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Create File
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Changes in this file are processed in .htaccess file.
|
|
||||||
| Set it to false to turn it off.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'createFile' => true,
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Headers
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Predefined HTTP header submissions are defined in the system.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'headers' =>
|
|
||||||
[
|
|
||||||
'Header set Connection keep-alive'
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| INI
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Contains settings related to ini.
|
|
||||||
|
|
|
||||||
| status: If this value is true, the changes are processed in
|
|
||||||
| the .htaccess file.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'ini' =>
|
|
||||||
[
|
|
||||||
'status' => true,
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Settings
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| It is used to manipulate the .htaccess file.
|
|
||||||
| Note: Edit the .htaccess file from this section. Do not make manual
|
|
||||||
| edits on the .htaccess file. The changes will be lost if the value of
|
|
||||||
| createFile is true.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'settings' =>
|
|
||||||
[
|
|
||||||
'IfModule mod_headers.c' => ['Options -Indexes'],
|
|
||||||
'FilesMatch "^(?i:docker\-compose\.yml|Dockerfile)$"' => ['deny from all']
|
|
||||||
|
|
||||||
# http -> https rewrite
|
|
||||||
//'IfModule mod_rewrite.c' =>
|
|
||||||
//[
|
|
||||||
// 'RewriteCond %{HTTPS} !=on',
|
|
||||||
// 'RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]'
|
|
||||||
//]
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Cache
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Contains settings related to cache.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'cache' =>
|
|
||||||
[
|
|
||||||
'obGzhandler' => true,
|
|
||||||
'modGzip' =>
|
|
||||||
[
|
|
||||||
'status' => true,
|
|
||||||
'includedFileExtension' => 'html?|txt|css|js|php|pl'
|
|
||||||
],
|
|
||||||
'modExpires' =>
|
|
||||||
[
|
|
||||||
'status' => true,
|
|
||||||
'defaultTime' => 1, # 1 second
|
|
||||||
'fileTypeTime' =>
|
|
||||||
[
|
|
||||||
'text/html' => 1, # 1 second
|
|
||||||
'image/gif' => 2592000, # 1 month
|
|
||||||
'image/jpeg' => 2592000, # 1 month
|
|
||||||
'image/png' => 2592000, # 1 month
|
|
||||||
'text/css' => 604800, # 1 week
|
|
||||||
'text/javascript' => 216000, # 2.5 days
|
|
||||||
'application/x-javascript' => 216000 # 2.5 days
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'modHeaders' =>
|
|
||||||
[
|
|
||||||
'status' => true,
|
|
||||||
'fileExtensionTimeAccess' =>
|
|
||||||
[
|
|
||||||
'ico|pdf|flv|jpg|jpeg|png|gif|swf' => ['time' => 2592000, 'access' => 'public'],
|
|
||||||
'css' => ['time' => 604800 , 'access' => 'public'],
|
|
||||||
'js' => ['time' => 216000 , 'access' => 'private'],
|
|
||||||
'xml|txt' => ['time' => 216000 , 'access' => 'public, must-revalidate'],
|
|
||||||
'html|htm|php' => ['time' => 1 , 'access' => 'private, must-revalidate']
|
|
||||||
]
|
|
||||||
]
|
|
||||||
]
|
|
||||||
];
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Ini
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Contains settings related to ini.
|
|
||||||
|
|
|
||||||
| settings: INI settings.
|
|
||||||
|
|
|
||||||
| Example: [upload_max_filesize => "10M"]
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
# Upload Settings
|
|
||||||
'file_uploads' => '', # "1"
|
|
||||||
'post_max_size' => '', # "8M"
|
|
||||||
'upload_max_filesize' => '', # "2M"
|
|
||||||
'upload_tmp_dir' => '', # NULL
|
|
||||||
'max_input_nesting_level' => '', # 64
|
|
||||||
'max_input_vars' => '', # 1000
|
|
||||||
'max_file_uploads' => '', # 20
|
|
||||||
'max_input_time' => '', # "-1"
|
|
||||||
'max_execution_time' => '', # "30"
|
|
||||||
|
|
||||||
# Session Settings
|
|
||||||
'session.save_path' => '', # NULL
|
|
||||||
'session.name' => '', # PHPSESSID
|
|
||||||
'session.save_handler' => '', # files
|
|
||||||
'session.auto_start' => '', # 0
|
|
||||||
'session.gc_probability' => '', # 1
|
|
||||||
'session.gc_divisor' => '', # 100
|
|
||||||
'session.gc_maxlifetime' => '', # 1440
|
|
||||||
'session.serialize_handler' => '', # php
|
|
||||||
'session.use_strict_mode' => '', # 0
|
|
||||||
'session.use_cookies' => '', # 1
|
|
||||||
'session.referer_check' => '', # NULL
|
|
||||||
'session.entropy_file' => '', # NULL
|
|
||||||
'session.entropy_length' => '', # 0
|
|
||||||
'session.cache_limiter' => '', # nocache
|
|
||||||
'session.cache_expire' => '', # 180
|
|
||||||
'session.use_trans_sid' => '', # 0
|
|
||||||
'session.hash_function' => '', # 0
|
|
||||||
'session.hash_bits_per_character' => '', # 4
|
|
||||||
|
|
||||||
# Session Upload Progress Settings
|
|
||||||
'session.upload_progress.enabled' => '', # 1
|
|
||||||
'session.upload_progress.cleanup' => '', # 1
|
|
||||||
'session.upload_progress.prefix' => '', # upload_progress
|
|
||||||
'session.upload_progress.name' => '', # PHP_SESSION_UPLOAD_PROGRESS
|
|
||||||
'session.upload_progress.freq' => '', # 1%
|
|
||||||
'session.upload_progress.min_freq' => '', # 1
|
|
||||||
|
|
||||||
# Cookie Settings
|
|
||||||
'session.cookie_lifetime' => '', # 0
|
|
||||||
'session.cookie_path' => '', # /
|
|
||||||
'session.cookie_domain' => '', # NULL
|
|
||||||
'session.cookie_secure' => '', # NULL
|
|
||||||
'session.cookie_httponly' => '' # NULL
|
|
||||||
];
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Directory
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Contains settings related to the Projects/ directory.
|
|
||||||
|
|
|
||||||
| default: The default boot directory. If the same name directory as the
|
|
||||||
| host name exists, the default boot directory is that directory.
|
|
||||||
|
|
|
||||||
| others : It is specified which domain will run which project directory.
|
|
||||||
| The project directory can be given a alias.
|
|
||||||
|
|
|
||||||
| Example: ['admin' => 'Backend', 'cast.site.com' => 'Cast']
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'directory' =>
|
|
||||||
[
|
|
||||||
'default' => ZN\Base::project('Frontend'),
|
|
||||||
'others' =>
|
|
||||||
[
|
|
||||||
'panel.pisilinux.org' => 'Panel',
|
|
||||||
'panel.pisilinux.og' => 'Panel',
|
|
||||||
'members.pisilinux.og' => 'Members',
|
|
||||||
'forum1.pisilinux.og' => 'Forum1',
|
|
||||||
'backend.pisilinux.og' => 'Backend',
|
|
||||||
]
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Containers
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Projects contain settings on each other's scope.
|
|
||||||
| That is, it is possible to use common files for the projects mentioned.
|
|
||||||
| Every directory except Controller and View directories can be used as a
|
|
||||||
| common directory.
|
|
||||||
|
|
|
||||||
| Example: child => parent
|
|
||||||
*/
|
|
||||||
|
|
||||||
'containers' =>
|
|
||||||
[
|
|
||||||
'Panel' => 'Frontend',
|
|
||||||
'Members' => 'Frontend',
|
|
||||||
'Forum1' => 'Frontend',
|
|
||||||
'Backend' => 'Frontend',
|
|
||||||
]
|
|
||||||
];
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Create File
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Decides whether to create a robots file.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'createFile' => false,
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Rules
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Expressions to be written to the file.
|
|
||||||
|
|
|
||||||
| Multiple Usage
|
|
||||||
|
|
|
||||||
| Example: rules => [['userAgent' => '*', disallow => ['/dir/']] ... ],
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'rules' =>
|
|
||||||
[
|
|
||||||
'userAgent' => '*',
|
|
||||||
'allow' => [],
|
|
||||||
'disallow' =>
|
|
||||||
[
|
|
||||||
'/External/',
|
|
||||||
'/Internal/',
|
|
||||||
'/Projects/',
|
|
||||||
'/Settings/'
|
|
||||||
]
|
|
||||||
]
|
|
||||||
];
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
<?php return
|
|
||||||
[
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| URL Change Chars
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| It is used to filter the data coming from the URL.
|
|
||||||
|
|
|
||||||
| Example: 'old_chars' => 'change_new_chars'
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'urlChangeChars' =>
|
|
||||||
[
|
|
||||||
'<' => '',
|
|
||||||
'>' => ''
|
|
||||||
]
|
|
||||||
];
|
|
||||||
Reference in New Issue
Block a user