Browse Source

require "inc/instance-config.php", not "instance-config.php"

pull/40/head
Savetheinternet 12 years ago
parent
commit
7ff9cd6f2d
  1. 3
      inc/functions.php

3
inc/functions.php

@ -13,7 +13,7 @@
require 'config.php';
if (file_exists('inc/instance-config.php')) {
require 'instance-config.php';
require 'inc/instance-config.php';
}
if(isset($board['dir']) && file_exists($board['dir'] . '/config.php')) {
require $board['dir'] . '/config.php';
@ -259,6 +259,7 @@
global $config;
if(preg_match('/^remote:\/\/(.+)\:(.+)$/', $path, $m)) {
if(isset($config['remote'][$m[1]])) {
require_once 'inc/remote.php';

Loading…
Cancel
Save