mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
moved stylesheets into a new "stylesheets" directory
This commit is contained in:
parent
7c69eb08ab
commit
94df9dda93
@ -682,7 +682,7 @@
|
||||
'Yotsuba' => 'yotsuba.css'
|
||||
);
|
||||
|
||||
// The prefix for each stylesheet URI. Defaults to $config['root']
|
||||
// The prefix for each stylesheet URI. Defaults to $config['root']/stylesheets/
|
||||
//$config['uri_stylesheets'] = 'http://static.example.org/stylesheets/';
|
||||
|
||||
// The default stylesheet to use
|
||||
@ -700,7 +700,7 @@
|
||||
|
||||
// Set custom locations for stylesheets, scripts and maybe a banner.
|
||||
// This can be good for load balancing across multiple servers or hostnames.
|
||||
// $config['url_stylesheet'] = 'http://static.example.org/style.css';
|
||||
// $config['url_stylesheet'] = 'http://static.example.org/style.css'; // main/base stylesheet
|
||||
// $config['url_javascript'] = 'http://static.example.org/main.js';
|
||||
// $config['url_banner'] = '/banner.php';
|
||||
// $config['url_favicon'] = '/favicon.gif';
|
||||
|
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user