p0ody / ff2ebook

WIP.
http://www.ff2ebook.com
18 stars 2 forks source link

Added portable mode (no database, no file cache) #6

Closed Mikescher closed 8 years ago

Mikescher commented 8 years ago

Hey,

I wanted to use this without a database and without it storing all the files on m server. So I added a PORTABLE_MODE. If this option is enabled in the config.php:

I don't think that will partically useful for your server, but perhaps someone else wants to use your project on a smaller, private server...

  Regards ~ Mike

p0ody commented 8 years ago

Created a new branch called portable, I might merge it once i checked everything.

But using normal php session, it will take longer to fetch chapters because the session has to close before il can continue with the next chapter (So no async fetching)

Mikescher commented 8 years ago

But using normal php session, it will take longer to fetch chapters because the session has to close before il can continue with the next chapter (So no async fetching)

Ah, I wondered why you went that way with storing session data in the database - now that makes sense.

But I think if you want fast downloads its anyway better to use your official website (with all the already created ebooks) :smile:

~ Mike