mirror of https://github.com/aredn/aredn.git
cleaned comments regarding linking style.css
This commit is contained in:
parent
714a3d6f54
commit
33d490aaa7
|
@ -50,8 +50,6 @@ read_postdata();
|
||||||
|
|
||||||
# set up the style sheet
|
# set up the style sheet
|
||||||
mkdir "/tmp/web" unless -d "/tmp/web"; # make sure /tmp/web exists
|
mkdir "/tmp/web" unless -d "/tmp/web"; # make sure /tmp/web exists
|
||||||
# DO IN BUILD- unlink "/www/style.css" if -f "/www/style.css"; # cleanup any actual file named style.css in /www
|
|
||||||
# DO IN BUILD- symlink "/tmp/web/style.css","/www/style.css" unless -l "/www/style.css"; # fixed for web page
|
|
||||||
symlink "/www/aredn.css","/tmp/web/style.css" unless -l "/tmp/web/style.css"; # default to aredn.css
|
symlink "/www/aredn.css","/tmp/web/style.css" unless -l "/tmp/web/style.css"; # default to aredn.css
|
||||||
|
|
||||||
if($parms{css} and -f "/www/$parms{css}" and $parms{css} =~ /\.css$/i) {
|
if($parms{css} and -f "/www/$parms{css}" and $parms{css} =~ /\.css$/i) {
|
||||||
|
|
Loading…
Reference in New Issue