1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 07:34:22 +02:00

Admin Panel: Settings Manager - Cache - new drivers: sqlite3, zend - added.

This commit is contained in:
Awilum
2019-01-16 01:12:19 +03:00
parent b3657c5784
commit df654b69f5
4 changed files with 18 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ class SettingsManager
'memcache' => 'Memcache',
'memcached' => 'Memcached',
'redis' => 'Redis',
'sqlite3' => 'SQLite3',
'zend' => 'Zend',
'array' => 'Array'];
Themes::view('admin/views/templates/system/settings/list')

View File

@@ -240,3 +240,5 @@ admin_system_settings_cache_redis_socket: "Redis Socket"
admin_system_settings_cache_redis_password: "Redis Password"
admin_system_settings_cache_redis_server: "Redis Server"
admin_system_settings_cache_redis_port: "Redis Port"
admin_system_settings_cache_sqlite3_database: "SQLite3 Database"
admin_system_settings_cache_sqlite3_table: "SQLite3 Table"

View File

@@ -241,3 +241,5 @@ admin_system_settings_cache_redis_socket: "Redis Socket"
admin_system_settings_cache_redis_password: "Redis Password"
admin_system_settings_cache_redis_server: "Redis Server"
admin_system_settings_cache_redis_port: "Redis Port"
admin_system_settings_cache_sqlite3_database: "SQLite3 Database"
admin_system_settings_cache_sqlite3_table: "SQLite3 Table"

View File

@@ -236,6 +236,18 @@ Themes::view('admin/views/partials/content-start')->display();
<?= Form::input('cache[redis][port]', $settings['cache']['redis']['port'], ['class' => 'form-control', 'id' => 'systemSettingsSystemCacheRedisPort', 'required']) ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?= Form::label('cache[sqlite3][database]', __('admin_system_settings_cache_sqlite3_database'), ['for' => 'systemSettingsSystemCacheSQLite3Database']) ?>
<?= Form::input('cache[sqlite3][database]', $settings['cache']['sqlite3']['database'], ['class' => 'form-control', 'id' => 'systemSettingsSystemCacheSQLite3Database', 'required']) ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?= Form::label('cache[sqlite3][table]', __('admin_system_settings_cache_sqlite3_table'), ['for' => 'systemSettingsSystemCacheSQLite3Table']) ?>
<?= Form::input('cache[sqlite3][table]', $settings['cache']['sqlite3']['table'], ['class' => 'form-control', 'id' => 'systemSettingsSystemCacheSQLite3Table', 'required']) ?>
</div>
</div>
<div class="col-md-12">
<br>