Daniel Rudolf
2535df7cfe
Add index.php.dist
...
See https://github.com/picocms/Pico/issues/285#issuecomment-160130798
10 years ago
Daniel Rudolf
cb15ea7493
Amend #286
10 years ago
Daniel Rudolf
86d1f713f2
Move PHP version check to index.php
10 years ago
Daniel Rudolf
31acaffa67
Add PHP_CodeSniffer
10 years ago
Diogo Oliveira de Melo
70d813eafe
change the way to call autoload.php.
...
- As suggested by @theshka , this code first verify if Pico is being used
as local composer install, then verify if it is being used as a composer
library.
10 years ago
Diogo Oliveira de Melo
9e752c1d29
It works when Pico is installed as a dependency
10 years ago
theshka
132399f305
add comments/in-line docs
10 years ago
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
10 years ago
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)
10 years ago
Daniel Rudolf
284e0ce7de
Move constants to global.php
10 years ago
Daniel Rudolf
399b73aa3b
Move config.php to config/; Add CONFIG_DIR and VENDOR_DIR constants
10 years ago
Daniel Rudolf
e23e61daad
CONTENT_DIR constant isn't functional anymore
10 years ago
Wojciech Grzebieniowski
577160b109
Apply PSR1/PSR2 coding standards.
...
Mostly - use consistent indentation. Currently some methods in Pico
class are indented with space ( get_files() ), some with tabs.
10 years ago
theshka
c4af6eef9d
Define missing content directory
...
Using the editor plugin after this file was updated causes errors. Fixed by re-defining the content directory.
10 years ago
Diogo Oliveira de Melo
196d3cf283
Move content to content-sample
...
- move the directory content to content-sample
- remove CONTENT_DIR as a define on index.php
- create config value "content_dir" and replace all CONTENT_DIR by it's
correspondent $config['content_dir']
- add the content_dir config on config.php.template
10 years ago
outrunthewolf
48a1b00f87
Update index.php
...
Require once on core files, to stop redeclare when composer has already done so.
12 years ago
Konrad Riedel
145915346c
using composer for markdown
12 years ago
Gilbert Pellegrom
2416172ba7
v0.6
...
[New] Added plugin functionality
[Changed] Other small cleanup
12 years ago
Gilbert Pellegrom
8cebbb51f8
v0.4.1
...
[New] Added CONTENT_EXT global
[Changed] Use .md files instead of .txt
12 years ago
Gilbert Pellegrom
ac055a715a
Fix get_config() function #13 .
12 years ago
Gilbert Pellegrom
c88f8e7967
v0.2
...
Added some inline docs.
12 years ago
Gilbert Pellegrom
7d2f97f2f6
Update Twig (now uses composer) and add composer.json.
12 years ago
Gilbert Pellegrom
92b792e8f2
Initial commit.
13 years ago