Commit graph

28 commits

Author SHA1 Message Date
Daniel Rudolf
7684fc455a
Improve index.php error message for a missing 'vendor/autoload.php' 2019-10-01 13:29:06 +02:00
Daniel Rudolf
63616b5888
Add license/copyright file headers to index.php and index.php.dist 2017-10-19 22:26:43 +02:00
Daniel Rudolf
b6468ca215
Various small improvements 2017-10-08 00:36:29 +02:00
Daniel Rudolf
73078a3dc3 Fix code formatting + class docs 2016-01-07 03:00:32 +01:00
Daniel Rudolf
2535df7cfe Add index.php.dist
See https://github.com/picocms/Pico/issues/285#issuecomment-160130798
2015-11-27 20:24:29 +01:00
Daniel Rudolf
abce8b84b8 Merge branch 'master' into enhancement/build-release
Conflicts:
	index.php
2015-11-27 19:52:17 +01:00
Daniel Rudolf
cb15ea7493 Amend #286 2015-11-27 19:49:53 +01:00
Daniel Rudolf
86d1f713f2 Move PHP version check to index.php 2015-11-27 19:45:21 +01:00
Daniel Rudolf
31acaffa67 Add PHP_CodeSniffer 2015-11-27 19:40:26 +01:00
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.
2015-11-27 02:16:06 -02:00
Diogo Oliveira de Melo
9e752c1d29 It works when Pico is installed as a dependency 2015-11-23 20:11:42 -02:00
theshka
132399f305 add comments/in-line docs 2015-10-09 20:41:00 +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
284e0ce7de Move constants to global.php 2015-08-28 18:19:03 +02:00
Daniel Rudolf
399b73aa3b Move config.php to config/; Add CONFIG_DIR and VENDOR_DIR constants 2015-08-01 22:03:54 +02:00
Daniel Rudolf
e23e61daad CONTENT_DIR constant isn't functional anymore 2015-08-01 21:55:19 +02:00
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.
2015-06-10 11:40:26 +02:00
theshka
c4af6eef9d Define missing content directory
Using the editor plugin after this file was updated causes errors. Fixed by re-defining the content directory.
2015-04-22 15:04:54 -04:00
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
2015-03-18 06:32:00 -03:00
outrunthewolf
48a1b00f87 Update index.php
Require once on core files, to stop redeclare when composer has already done so.
2014-02-10 09:04:20 +00:00
Konrad Riedel
145915346c using composer for markdown 2013-07-10 15:12:44 +02:00
Gilbert Pellegrom
2416172ba7 v0.6
[New] Added plugin functionality
[Changed] Other small cleanup
2013-05-06 16:38:38 +01:00
Gilbert Pellegrom
8cebbb51f8 v0.4.1
[New] Added CONTENT_EXT global
[Changed] Use .md files instead of .txt
2013-05-01 15:52:18 +01:00
Gilbert Pellegrom
ac055a715a Fix get_config() function #13. 2013-04-27 17:17:08 +01:00
Gilbert Pellegrom
c88f8e7967 v0.2
Added some inline docs.
2013-04-26 17:38:10 +01:00
Gilbert Pellegrom
7d2f97f2f6 Update Twig (now uses composer) and add composer.json. 2013-04-26 17:22:30 +01:00
Gilbert Pellegrom
92b792e8f2 Initial commit. 2012-04-04 14:45:09 +01:00