From 8f7e4da53df04b60bba72baa1eb5b545ef3cb797 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Mon, 12 Dec 2016 15:31:06 +0100 Subject: [PATCH] Rename Pico 1.1 to Pico 2.0 --- config/config.php.template | 2 +- lib/AbstractPicoPlugin.php | 2 +- lib/Pico.php | 8 ++++---- lib/PicoPluginInterface.php | 2 +- lib/PicoTwigExtension.php | 2 +- plugins/00-PicoDeprecated.php | 6 +++--- plugins/DummyPlugin.php | 2 +- themes/default/js/pico.js | 2 +- themes/default/js/utils.js | 2 +- themes/default/style.css | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config/config.php.template b/config/config.php.template index 34b3063..dc19eff 100644 --- a/config/config.php.template +++ b/config/config.php.template @@ -12,7 +12,7 @@ * * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.1 + * @version 2.0 */ /* diff --git a/lib/AbstractPicoPlugin.php b/lib/AbstractPicoPlugin.php index 0ce2ff6..4acbde5 100644 --- a/lib/AbstractPicoPlugin.php +++ b/lib/AbstractPicoPlugin.php @@ -8,7 +8,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.0 + * @version 2.0 */ abstract class AbstractPicoPlugin implements PicoPluginInterface { diff --git a/lib/Pico.php b/lib/Pico.php index dfcc774..1644209 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -24,7 +24,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.1 + * @version 2.0 */ class Pico { @@ -33,7 +33,7 @@ class Pico * * @var string */ - const VERSION = '1.1.0-dev'; + const VERSION = '2.0.0-dev'; /** * Pico version ID @@ -773,7 +773,7 @@ class Pico * * With Pico 1.0 you had to setup URL rewriting (e.g. using `mod_rewrite` * on Apache) in a way that rewritten URLs follow the `QUERY_STRING` - * principles. Starting with version 1.1, Pico additionally supports the + * principles. Starting with version 2.0, Pico additionally supports the * `REQUEST_URI` routing method, what allows you to simply rewrite all * requests to just `index.php`. Pico then reads the requested page from * the `REQUEST_URI` environment variable provided by the webserver. @@ -1672,7 +1672,7 @@ class Pico * {@link Pico::getBaseUrl()} as origin of the theme URL. Otherwise Pico * falls back to the basename of {@link Pico::$themesDir} (i.e. assuming * that `Pico::$themesDir` is `foo/bar/baz`, the base URL of the themes - * folder will be `baz/`; this ensures BC to Pico < 1.1). Pico's base URL + * folder will be `baz/`; this ensures BC to Pico < 2.0). Pico's base URL * always gets prepended appropriately. * * @return string the URL of the themes folder diff --git a/lib/PicoPluginInterface.php b/lib/PicoPluginInterface.php index ffa839b..337a8ba 100644 --- a/lib/PicoPluginInterface.php +++ b/lib/PicoPluginInterface.php @@ -23,7 +23,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.0 + * @version 2.0 */ interface PicoPluginInterface { diff --git a/lib/PicoTwigExtension.php b/lib/PicoTwigExtension.php index 7267232..7c7de70 100644 --- a/lib/PicoTwigExtension.php +++ b/lib/PicoTwigExtension.php @@ -6,7 +6,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.0 + * @version 2.0 */ class PicoTwigExtension extends Twig_Extension { diff --git a/plugins/00-PicoDeprecated.php b/plugins/00-PicoDeprecated.php index 2d4a333..c79d7f3 100644 --- a/plugins/00-PicoDeprecated.php +++ b/plugins/00-PicoDeprecated.php @@ -1,7 +1,7 @@ isUrlRewritingEnabled(); } diff --git a/plugins/DummyPlugin.php b/plugins/DummyPlugin.php index 667de54..9214029 100644 --- a/plugins/DummyPlugin.php +++ b/plugins/DummyPlugin.php @@ -9,7 +9,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.0 + * @version 2.0 */ final class DummyPlugin extends AbstractPicoPlugin { diff --git a/themes/default/js/pico.js b/themes/default/js/pico.js index 8fde1fc..492829d 100644 --- a/themes/default/js/pico.js +++ b/themes/default/js/pico.js @@ -6,7 +6,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.1 + * @version 2.0 */ function main() diff --git a/themes/default/js/utils.js b/themes/default/js/utils.js index f8755d8..3b48911 100644 --- a/themes/default/js/utils.js +++ b/themes/default/js/utils.js @@ -6,7 +6,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.1 + * @version 2.0 */ utils = {}; diff --git a/themes/default/style.css b/themes/default/style.css index 0c1aa24..331ba8b 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -11,7 +11,7 @@ * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License - * @version 1.1 + * @version 2.0 */ * {