Semi_Deus wrote:@todo: Make demo!
>.> A demo? Oh noez.. /kicks House to let me at epic_fail()'s FTP backend
I might be able to PM you a link to it later on, once I update the 0.5.0 version on my old online Dev'ment board.
Semi_Deus wrote:This sounds great. If I am correct, it makes it possible for guests and everyone else (except bots) to view the websites code?
I tried making something like this allooong time ago.
I called it phpBB Base. It was a website where you could view all phpBB files, and the code would be syntax highlighted by GeSHi too.
/, but close. Yes, guests and members can view all the source contents that CRS picks up (and yes, no bots are allowed to view in order to be kind to the server. Besides, do /YoU\ want Google getting your code?)
. However, anything that's put into the folder specified by (Class) phpbb_crs
's site_source_path() method is detected and shown in the repository...except for an .htaccess document in the root of the source directory (which blocks direct access to files, but not images)
Essentially, you /could
/ hook it up to the forum's root path, but the question is, would you want to? It'd have to be filtered quite heavily in order to be secure.
Or, you could just copy over the entire thing (except for the cache, avatar, and temp files) into the source/ directory, and that's it.
One question, did your setup cache the filelist? Mine does for 3 days, to ease up that heavy strain from running crawldir(). O.o;
--Oh, by the way, I have
finally verified that the auto-generated MD5sum for the file being viewed is correct, and changes with the file's contents.