forked from leftypol/leftypol
Added: /pol/-like flags based on a953229de7
Conflicts: inc/config.php templates/post_form.html
This commit is contained in:
parent
17967436e3
commit
f83c87b623
4 changed files with 46 additions and 0 deletions
|
@ -201,6 +201,10 @@ function loadConfig() {
|
|||
$config['additional_javascript_url'] = $config['root'];
|
||||
if (!isset($config['uri_flags']))
|
||||
$config['uri_flags'] = $config['root'] . 'static/flags/%s.png';
|
||||
if (!isset($config['user_flag']))
|
||||
$config['user_flag'] = false;
|
||||
if (!isset($config['user_flags']))
|
||||
$config['user_flags'] = [];
|
||||
|
||||
if ($config['root_file']) {
|
||||
chdir($config['root_file']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue