diff --git a/.htaccess b/.htaccess index 79ca61d4..d94ee926 100755 --- a/.htaccess +++ b/.htaccess @@ -1,8 +1,8 @@ ## # @package Flextype # -# @author Sergey Romanenko -# @link http://flextype.org +# @author Sergey Romanenko +# @link http://romanenko.digital # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. @@ -21,7 +21,7 @@ RewriteEngine On -RewriteBase / +RewriteBase /flextype/ ## Begin - Exploits # If you experience problems on your site block out the operations listed below diff --git a/flextype/Cache.php b/flextype/Cache.php index afd9720a..65934fcd 100755 --- a/flextype/Cache.php +++ b/flextype/Cache.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Entries.php b/flextype/Entries.php index 307c4a1f..be35ef98 100755 --- a/flextype/Entries.php +++ b/flextype/Entries.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Flextype.php b/flextype/Flextype.php index 7a878fdd..09650b99 100755 --- a/flextype/Flextype.php +++ b/flextype/Flextype.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Romanenko Sergey / Awilum - * @link http://flextype.org + * @author Romanenko Sergey + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -105,9 +105,19 @@ class Flextype // Get Plugins Instance Plugins::getInstance(); + // echo '
';
+    //    print_r(Entries::fetchAll('test', 'slug', 'DESC'));
+    //    echo '
'; + + // die(); + // Get Site Instance Site::getInstance(); + //var_dump(\Symfony\Component\Yaml\Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK); + + //Entries::create('test', ['title' => 'Title', 'content' => "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis \nnostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\n Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."]); + // Flush (send) the output buffer and turn off output buffering ob_end_flush(); } diff --git a/flextype/Images.php b/flextype/Images.php index e7bbf080..2375c384 100644 --- a/flextype/Images.php +++ b/flextype/Images.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Plugins.php b/flextype/Plugins.php index ff6c2a44..41b28e3e 100755 --- a/flextype/Plugins.php +++ b/flextype/Plugins.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Shortcodes.php b/flextype/Shortcodes.php index 49319b71..0631dd30 100644 --- a/flextype/Shortcodes.php +++ b/flextype/Shortcodes.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Site.php b/flextype/Site.php index 85e8fe28..95f1e0b2 100644 --- a/flextype/Site.php +++ b/flextype/Site.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Snippets.php b/flextype/Snippets.php index 69f1348b..f56fb888 100644 --- a/flextype/Snippets.php +++ b/flextype/Snippets.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/Themes.php b/flextype/Themes.php index 86aa57db..56cc4b74 100644 --- a/flextype/Themes.php +++ b/flextype/Themes.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/parsers/YamlParser.php b/flextype/parsers/YamlParser.php index 6a49a518..c49dd1b7 100644 --- a/flextype/parsers/YamlParser.php +++ b/flextype/parsers/YamlParser.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/shortcodes/ImagesShortcode.php b/flextype/shortcodes/ImagesShortcode.php index 041372a7..e73b7f2e 100644 --- a/flextype/shortcodes/ImagesShortcode.php +++ b/flextype/shortcodes/ImagesShortcode.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/shortcodes/ImagesUrlShortcode.php b/flextype/shortcodes/ImagesUrlShortcode.php index f22fc54d..13cc07c4 100644 --- a/flextype/shortcodes/ImagesUrlShortcode.php +++ b/flextype/shortcodes/ImagesUrlShortcode.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/shortcodes/SiteUrlShortcode.php b/flextype/shortcodes/SiteUrlShortcode.php index bc143c99..c4e668ea 100644 --- a/flextype/shortcodes/SiteUrlShortcode.php +++ b/flextype/shortcodes/SiteUrlShortcode.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/flextype/shortcodes/SnippetsShortcode.php b/flextype/shortcodes/SnippetsShortcode.php index e0c030fd..ee139fa9 100644 --- a/flextype/shortcodes/SnippetsShortcode.php +++ b/flextype/shortcodes/SnippetsShortcode.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/index.php b/index.php index 60d87c5b..746f90da 100755 --- a/index.php +++ b/index.php @@ -3,8 +3,8 @@ /** * @package Flextype * - * @author Sergey Romanenko - * @link http://flextype.org + * @author Sergey Romanenko + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/site/plugins/admin/admin.php b/site/plugins/admin/admin.php index ca292f2e..7ff3dfdf 100755 --- a/site/plugins/admin/admin.php +++ b/site/plugins/admin/admin.php @@ -6,8 +6,8 @@ namespace Flextype; * * Flextype Admin Plugin * - * @author Romanenko Sergey / Awilum - * @link http://flextype.org + * @author Romanenko Sergey / Awilum + * @link http://romanenko.digital * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.