|
|
@ -28,11 +28,6 @@ |
|
|
|
|
|
|
|
date_default_timezone_set($config['timezone']); |
|
|
|
|
|
|
|
if(!isset($config['url_stylesheet'])) |
|
|
|
$config['url_stylesheet'] = $config['root'] . 'style.css'; |
|
|
|
if(!isset($config['url_javascript'])) |
|
|
|
$config['url_javascript'] = $config['root'] . 'main.js'; |
|
|
|
|
|
|
|
if(!isset($config['post_url'])) |
|
|
|
$config['post_url'] = $config['root'] . $config['file_post']; |
|
|
|
|
|
|
@ -81,7 +76,12 @@ |
|
|
|
$config['uri_img'] = sprintf($config['uri_img'], $board['dir']); |
|
|
|
|
|
|
|
if(!isset($config['uri_stylesheets'])) |
|
|
|
$config['uri_stylesheets'] = &$config['root']; |
|
|
|
$config['uri_stylesheets'] = $config['root'] . 'stylesheets/'; |
|
|
|
|
|
|
|
if(!isset($config['url_stylesheet'])) |
|
|
|
$config['url_stylesheet'] = $config['uri_stylesheets'] . 'style.css'; |
|
|
|
if(!isset($config['url_javascript'])) |
|
|
|
$config['url_javascript'] = $config['root'] . 'main.js'; |
|
|
|
|
|
|
|
if($config['root_file']) { |
|
|
|
chdir($config['root_file']); |
|
|
|