Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Configuration

Krid Heprakhone edited this page Sep 8, 2019 · 4 revisions

A configuration template for SkinSystem 1.7.2.

(For someone who can't pass an installation)

File name: config.nogit.php

<?php return [
  'version' => '1.7.2',
  /* Default theme for new users */
  'def_theme' => '_light',
  /* Warn all/eu/no users of data usage. 'eu' queries https://ipapi.co/<ip address>/in_eu */
  'data_warn' => 'no',
  /* AuthMe Configuration */
  'am' => [
    'enabled' => false,
    'host' => '',
    'port' => '',
    'database' => '',
    'username' => '',
    'password' => '',
    'hash' => [
      'method' => 'sha256'
    ],
    'authsec' => [
      'enabled' => false,
      'failed_attempts' => 3,
      'threshold_hours' => 24
    ]
  ],
  /* SkinsRestorer Configuration */
  'sr' => [
    'host' => 'localhost',
    'port' => '3306',
    'database' => '',
    'skintable' => 'Skins',
    'playertable' => 'Players',
    'username' => '',
    'password' => ''
  ],
  /* Cache Configuration */
  'cache_for_days' => 7,
  'cache_dir' => 'resources/cache/'
];?>
Clone this wiki locally