panique / mini

Just an extremely simple naked PHP application, useful for small projects and quick prototypes. Some might call it a micro framework :)
1.35k stars 479 forks source link

Serving http and https issues #208

Closed ynohtna92 closed 8 years ago

ynohtna92 commented 8 years ago

In the config.php file define('URL_PROTOCOL', 'http://'); should be define('URL_PROTOCOL', '//'); instead to allow for https protocol definitions when using URL.

panique commented 8 years ago

Hi, totally agree, but at time of writing i thought people who use this are mostly beginners so they will not work with https and stuff. Gimme some time to implement and test please!

panique commented 8 years ago

fixed with https://github.com/panique/mini/commit/e7bb76ff69dc91e77b76bec3b2a65be1d33364e8