You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,16 @@ Folders
29
29
-------
30
30
31
31
customization = All stuff which should be copied over
32
+
33
+
customization/www_librarybox ==> Replaces the normal www folder of piratebox
34
+
Contains internet detection
35
+
Shoutbox Scripts
36
+
(...) see below
37
+
customization/www_content ==> is moved to opt/piratebox/share/Content
38
+
Located on USB Stick
39
+
Contains all the presentational stuff
40
+
Contains presentation Templates for Statistic-Views
41
+
32
42
piratebox_origin = git subtree of PirateBoxScripts_Webserver branch "librarybox_dev" (see git subtree"
33
43
Normally you would choose some stable release, but because of LibraryBox is leapfrogging PirateBox I need to base on special branch to able to push changes back and other way around. This can be later changed to "stable" branch
34
44
tmp_img = Customization for images and mount points
@@ -41,5 +51,41 @@ Changes during build
41
51
* Copy a template for the librarybox.us/ stuff (internet detection and so on)
42
52
* Copy a template for the content-folder librarybox.us/content
43
53
* Changing SSD in hostapd
54
+
* Change hostname in piratebox.conf
55
+
* Enable custom directory-listing file
56
+
* Enable PHP in lighttpd with FastCGI
57
+
58
+
59
+
New Features in www folder
60
+
--------------------------
61
+
62
+
dir-generator.php => KittyKat dir Listing with customization for counting downloads
63
+
Download-Statistics can be turned off here
64
+
65
+
Download-Statistics
66
+
-------------------
67
+
dl_statistics.conf.php => Configuration file for download Statistics
68
+
dl_statistics.func.php => Function pool for getting acces to dl-stats
69
+
dl_statistics_counter.php => Called by dir-generator.php if somebody downloads something
70
+
Redirects after counting to direct file-url
71
+
dl_statistics_display.php => Simple view into statistics (shows deleted files too)
72
+
http://librarybox.us/dl_statistics_display.php
73
+
74
+
Located in content: dl_statistics.html.php
75
+
=> Templates for display
76
+
77
+
Creates a SQLite file in /opt/piratebox/share called dl_statistics.sqlite
78
+
79
+
Visitor-Counter
80
+
---------------
81
+
vc.conf.php => Configuration file for Visitor counter
82
+
vc.func.php => Function Pool for visitor counter
83
+
vc_counter.php => Displays a transparent 1x1 gif and counts visitor
84
+
vc_display.php => Simple view into statistics
85
+
http://librarybox.us/vc_display.php
86
+
87
+
Located in content: vc_statistics.html.php
88
+
=> Templates for display
44
89
45
90
91
+
Creates a SQLite file in /opt/piratebox/share called /opt/piratebox/share/vc_statistics.sqlite
0 commit comments