From 4d9f2015a5e4c4952f64f4be25cddaf9bf5714e4 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Fri, 31 Aug 2007 12:00:19 +0200 Subject: [PATCH] Initial commit with the new structure for git --- ND.pm | 2 +- ND/.gitignore | 1 + apache-conf.conf | 4 ++-- default.css => htdocs/default.css | 0 {images => htdocs/images}/down.png | Bin {images => htdocs/images}/stay.png | Bin {images => htdocs/images}/up.png | Bin raid.js => htdocs/raid.js | 0 {stylesheets => htdocs/stylesheets}/black.css | 0 {stylesheets => htdocs/stylesheets}/echoke.css | 0 {stylesheets => htdocs/stylesheets}/grey.css | 0 {stylesheets => htdocs/stylesheets}/hedgie.css | 0 {stylesheets => htdocs/stylesheets}/hedgie.jpg | Bin {stylesheets => htdocs/stylesheets}/thrackan.css | 0 startup.pl | 2 +- 15 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 ND/.gitignore rename default.css => htdocs/default.css (100%) rename {images => htdocs/images}/down.png (100%) rename {images => htdocs/images}/stay.png (100%) rename {images => htdocs/images}/up.png (100%) rename raid.js => htdocs/raid.js (100%) rename {stylesheets => htdocs/stylesheets}/black.css (100%) rename {stylesheets => htdocs/stylesheets}/echoke.css (100%) rename {stylesheets => htdocs/stylesheets}/grey.css (100%) rename {stylesheets => htdocs/stylesheets}/hedgie.css (100%) rename {stylesheets => htdocs/stylesheets}/hedgie.jpg (100%) rename {stylesheets => htdocs/stylesheets}/thrackan.css (100%) diff --git a/ND.pm b/ND.pm index be25403..3912c1c 100755 --- a/ND.pm +++ b/ND.pm @@ -32,7 +32,7 @@ use warnings; $SIG{__WARN__} = sub {$ND::ERROR .= p $_[0]}; -chdir '/var/www/ndawn/code'; +chdir '/var/www/ndawn'; sub handler { my $r = shift; diff --git a/ND/.gitignore b/ND/.gitignore new file mode 100644 index 0000000..808a82d --- /dev/null +++ b/ND/.gitignore @@ -0,0 +1 @@ +DB.pm diff --git a/apache-conf.conf b/apache-conf.conf index 9a2bdaf..c7b4d68 100644 --- a/apache-conf.conf +++ b/apache-conf.conf @@ -124,8 +124,8 @@ Deny from all - PerlSwitches -T -I/var/www/ndawn/code/ - PerlRequire /var/www/ndawn/code/startup.pl + PerlSwitches -T -I/var/www/ndawn/ + PerlRequire /var/www/ndawn/startup.pl SetHandler perl-script PerlResponseHandler ND diff --git a/default.css b/htdocs/default.css similarity index 100% rename from default.css rename to htdocs/default.css diff --git a/images/down.png b/htdocs/images/down.png similarity index 100% rename from images/down.png rename to htdocs/images/down.png diff --git a/images/stay.png b/htdocs/images/stay.png similarity index 100% rename from images/stay.png rename to htdocs/images/stay.png diff --git a/images/up.png b/htdocs/images/up.png similarity index 100% rename from images/up.png rename to htdocs/images/up.png diff --git a/raid.js b/htdocs/raid.js similarity index 100% rename from raid.js rename to htdocs/raid.js diff --git a/stylesheets/black.css b/htdocs/stylesheets/black.css similarity index 100% rename from stylesheets/black.css rename to htdocs/stylesheets/black.css diff --git a/stylesheets/echoke.css b/htdocs/stylesheets/echoke.css similarity index 100% rename from stylesheets/echoke.css rename to htdocs/stylesheets/echoke.css diff --git a/stylesheets/grey.css b/htdocs/stylesheets/grey.css similarity index 100% rename from stylesheets/grey.css rename to htdocs/stylesheets/grey.css diff --git a/stylesheets/hedgie.css b/htdocs/stylesheets/hedgie.css similarity index 100% rename from stylesheets/hedgie.css rename to htdocs/stylesheets/hedgie.css diff --git a/stylesheets/hedgie.jpg b/htdocs/stylesheets/hedgie.jpg similarity index 100% rename from stylesheets/hedgie.jpg rename to htdocs/stylesheets/hedgie.jpg diff --git a/stylesheets/thrackan.css b/htdocs/stylesheets/thrackan.css similarity index 100% rename from stylesheets/thrackan.css rename to htdocs/stylesheets/thrackan.css diff --git a/startup.pl b/startup.pl index 52e56ec..19a3590 100644 --- a/startup.pl +++ b/startup.pl @@ -1,4 +1,4 @@ -use lib qw(/var/www/ndawn/code/); +use lib qw(/var/www/ndawn/); use CGI qw/:standard/; -- 2.39.2