Daniel Rudolf
|
9d518fd722
|
Move sorting of $pages from Pico::getPages() to Pico::sortPages()
|
2015-10-04 22:39:38 +02:00 |
|
Daniel Rudolf
|
27d694697f
|
Fix code formatting
|
2015-10-04 21:34:37 +02:00 |
|
Daniel Rudolf
|
9aa62b4b44
|
Improve method docs of Pico::load404Content()
|
2015-10-04 16:57:57 +02:00 |
|
Daniel Rudolf
|
77f939028c
|
Support per-directory 404.md files
|
2015-10-04 15:24:38 +02:00 |
|
Daniel Rudolf
|
3a4721a20c
|
SCANDIR_SORT_* constants are available since PHP 5.4
Thanks @Lomanic
|
2015-10-04 14:15:11 +02:00 |
|
Daniel Rudolf
|
241a52907e
|
Update inline code comments
|
2015-10-01 22:52:10 +02:00 |
|
Daniel Rudolf
|
fd64e4fa5e
|
Add a exception to alpha sorting: List index files first
This guarantees that e.g. sub/index.md is listed before sub/foo.md
|
2015-10-01 21:54:30 +02:00 |
|
Daniel Rudolf
|
45815e2c6d
|
Don't read file contents of inaccessible pages
|
2015-10-01 17:22:14 +02:00 |
|
Daniel Rudolf
|
95db5ba1a1
|
Drop inaccessible pages
e.g. drop sub.md if sub/index.md exists
|
2015-10-01 15:59:47 +02:00 |
|
Daniel Rudolf
|
cdef7a6324
|
Explicitly treat relative paths to be relative to Picos root dir
This tempers the BC break, we can now recommend to simply remove the ROOT_DIR part
|
2015-10-01 15:14:45 +02:00 |
|
Daniel Rudolf
|
fc7632b0ac
|
Overhaul init of Pico
This may break BC if you're using one of the now deprecated constants (e.g. ROOT_DIR)
|
2015-10-01 15:05:50 +02:00 |
|
Daniel Rudolf
|
70f187fb45
|
Rename IPicoPlugin to PicoPluginInterface
|
2015-09-15 13:15:45 +02:00 |
|
Daniel Rudolf
|
5731ede297
|
Allow omitting config/config.php; Fix write context on return value
Thanks @Lomanic for reporting
|
2015-09-14 23:01:08 +02:00 |
|
Daniel Rudolf
|
71e7da28cc
|
Various fixes
Thanks @PontusHorn for spotting!
|
2015-09-13 20:46:09 +02:00 |
|
Daniel Rudolf
|
a83b01ef4f
|
Access plugins by class name, not file name
Class name and file name can differ regarding case sensitivity
|
2015-09-06 14:35:23 +02:00 |
|
Daniel Rudolf
|
533822320e
|
Workaround for webservers omitting QUERY_STRING
Thanks @theshka for spotting
|
2015-08-30 21:31:47 +02:00 |
|
Daniel Rudolf
|
cd145821ba
|
Remove pull request message
|
2015-08-28 18:24:06 +02:00 |
|
Daniel Rudolf
|
92c307d8be
|
Pico 1.0
I unfortunately messed up my repo so this is just a single commit... :(
|
2015-08-28 18:22:32 +02:00 |
|
Daniel Rudolf
|
c496297c44
|
Class files should exactly match the class name
|
2015-08-28 18:13:50 +02:00 |
|