Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b06f1a3
Showing
40 changed files
with
1,597 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# remove the following ignores for your project | ||
/app/constants.php | ||
|
||
# symfony default | ||
/.web-server-pid | ||
/app/config/parameters.yml | ||
/build/ | ||
/phpunit.xml | ||
/web/bundles/ | ||
|
||
# local config | ||
/.env | ||
!/app/config/local | ||
/app/config/local/* | ||
!app/config/local/.gitkeep | ||
|
||
# pimcore legacy (remove this for your own development) | ||
!/legacy | ||
/legacy/* | ||
!legacy/.gitkeep | ||
!legacy/bundle | ||
|
||
/var/* | ||
!/var/.gitkeep | ||
!/var/classes/ | ||
/var/classes/DataObject | ||
|
||
!/var/config | ||
/var/config/system.php | ||
/var/config/debug-mode.php | ||
/var/config/maintenance.php | ||
|
||
# project specific recommendations | ||
/var/config/tag-manager.php | ||
/var/config/reports.php | ||
|
||
|
||
/web/var/ | ||
/web/sitemap*.xml | ||
|
||
# PHP-CS-Fixer | ||
/.php_cs | ||
/.php_cs.cache | ||
|
||
# composer.local.json is referenced in composer-merge-plugin | ||
# remove this for your projects if you want to track the file | ||
/composer.local.json | ||
|
||
# composer | ||
/vendor/ | ||
|
||
# PhpStorm / IDEA | ||
.idea | ||
# NetBeans | ||
nbproject | ||
|
||
# codeception (only stage *.dist.yml config files) | ||
/codeception.yml | ||
/pimcore/codeception.yml | ||
/pimcore/tests/*.suite.yml | ||
/pimcore/tests/_output/* | ||
/pimcore/tests/_support/_generated/* | ||
|
||
# keep legacy paths ignored for easier migration | ||
/plugins/ | ||
/tools/ | ||
/website/ | ||
.temp | ||
node_modules/ | ||
install-profiles/ | ||
web/build/ | ||
esign | ||
importdefinitions.php | ||
web2print.php | ||
template/web/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Dominiks Pimcore 5 Project Skeleton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/** | ||
* Pimcore | ||
* | ||
* This source file is available under two different licenses: | ||
* - GNU General Public License version 3 (GPLv3) | ||
* - Pimcore Enterprise License (PEL) | ||
* Full copyright and license information is available in | ||
* LICENSE.md which is distributed with this source code. | ||
* | ||
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) | ||
* @license http://www.pimcore.org/license GPLv3 and PEL | ||
*/ | ||
use Pimcore\HttpKernel\BundleCollection\BundleCollection; | ||
use Pimcore\Kernel; | ||
|
||
class AppKernel extends Kernel | ||
{ | ||
/** | ||
* Adds bundles to register to the bundle collection. The collection is able | ||
* to handle priorities and environment specific bundles. | ||
* | ||
* @param BundleCollection $collection | ||
*/ | ||
public function registerBundlesToCollection(BundleCollection $collection) | ||
{ | ||
if (class_exists('\\AppBundle\\AppBundle')) { | ||
$collection->addBundle(new \AppBundle\AppBundle); | ||
} | ||
|
||
if (class_exists('\Pimcore\Bundle\LegacyBundle\PimcoreLegacyBundle')) { | ||
$collection->addBundle(new \Pimcore\Bundle\LegacyBundle\PimcoreLegacyBundle); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Example</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<style type="text/css"> | ||
body { | ||
padding:0; | ||
margin: 0; | ||
font-family: "Lucida Sans Unicode", Arial; | ||
font-size: 14px; | ||
} | ||
|
||
#site { | ||
margin: 0 auto; | ||
width: 600px; | ||
padding: 30px 0 0 0; | ||
color:#65615E; | ||
} | ||
|
||
h1, h2, h3 { | ||
font-size: 18px; | ||
padding: 0 0 5px 0; | ||
border-bottom: 1px solid #001428; | ||
margin-bottom: 5px; | ||
} | ||
|
||
h3 { | ||
font-size: 14px; | ||
padding: 15px 0 5px 0; | ||
margin-bottom: 5px; | ||
border-color: #cccccc; | ||
} | ||
|
||
img { | ||
border: 0; | ||
} | ||
|
||
p { | ||
padding: 0 0 5px 0; | ||
} | ||
|
||
a { | ||
color: #000; | ||
} | ||
|
||
#logo { | ||
text-align: center; | ||
padding: 50px 0; | ||
} | ||
|
||
#logo hr { | ||
display: block; | ||
height: 1px; | ||
overflow: hidden; | ||
background: #BBB; | ||
border: 0; | ||
padding:0; | ||
margin:30px 0 20px 0; | ||
} | ||
|
||
.claim { | ||
text-transform: uppercase; | ||
color:#BBB; | ||
} | ||
|
||
#site ul { | ||
padding: 10px 0 10px 20px; | ||
list-style: circle; | ||
} | ||
|
||
.buttons { | ||
margin-bottom: 100px; | ||
text-align: center; | ||
} | ||
|
||
.buttons a { | ||
display: inline-block; | ||
background: #6428b4; | ||
color:#fff; | ||
padding: 5px 10px; | ||
margin-right: 10px; | ||
width:40%; | ||
border-radius: 2px; | ||
text-decoration: none; | ||
} | ||
|
||
.buttons a:hover { | ||
background: #1C8BC1; | ||
} | ||
|
||
.buttons a:last-child { | ||
margin: 0; | ||
} | ||
|
||
</style> | ||
|
||
|
||
<div id="site"> | ||
<div id="logo"> | ||
<a href="http://www.pimcore.com/"><img src="/pimcore/static6/img/logo-claim-gray.svg" style="width: 400px;" /></a> | ||
<hr /> | ||
</div> | ||
|
||
<?php if($this->editmode) { ?> | ||
<div class="buttons"> | ||
<a target="_blank" href="https://www.pimcore.com/docs/5.0.0/Getting_Started/Installation.html">Install Sample Data / Boilerplate</a> | ||
<a target="_blank" href="https://www.pimcore.com/docs/5.0.0/Getting_Started/index.html">Getting Started</a> | ||
</div> | ||
|
||
<div class="info"> | ||
<h2>Where can I edit some pages?</h2> | ||
<p> | ||
Well, it seems that you're using the professional distribution of pimcore which doesn't include any | ||
templates / themes or contents, it's designed to start a project from scratch. If you need a jump start | ||
please consider using our sample data / boilerplate package which includes everything you need to get started. | ||
</p> | ||
</div> | ||
<?php } ?> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
imports: | ||
- { resource: parameters.yml } | ||
- { resource: security.yml } | ||
- { resource: services.yml } | ||
- { resource: 'local/' } | ||
|
||
pimcore: | ||
|
||
#### TRANSLATIONS | ||
# translations: | ||
# case_insensitive: true | ||
|
||
#### REDIS CACHE | ||
# cache: | ||
# pools: | ||
# redis: | ||
# enabled: true | ||
# connection: | ||
# server: localhost | ||
# database: 14 | ||
|
||
#### FEATURE FLAGS | ||
# flags: | ||
# zend_date: true | ||
|
||
#### CLASS OVERRIDES EXAMPLES | ||
# models: | ||
# class_overrides: | ||
# 'Pimcore\Model\DataObject\News': 'AppBundle\Model\DataObject\News' | ||
# 'Pimcore\Model\DataObject\News\Listing': 'AppBundle\Model\DataObject\News\Listing' | ||
# 'Pimcore\Model\DataObject\Folder': 'AppBundle\Model\DataObject\Folder' | ||
# 'Pimcore\Model\Asset\Folder': 'AppBundle\Model\Asset\Folder' | ||
# 'Pimcore\Model\Asset\Image': 'AppBundle\Model\Asset\Image' | ||
# 'Pimcore\Model\Document\Page': 'AppBundle\Model\Document\Page' | ||
# 'Pimcore\Model\Document\Link': 'AppBundle\Model\Document\Link' | ||
# 'Pimcore\Model\Document\Listing': 'AppBundle\Model\Document\Listing' | ||
|
||
|
||
#### CUSTOM DOCUMENT EDITABLES | ||
# documents: | ||
# tags: | ||
# map: | ||
# markdown: \AppBundle\Model\Document\Tag\Markdown | ||
|
||
|
||
#### CUSTOM OBJECT DATA TYPES | ||
# objects: | ||
# class_definitions: | ||
# data: | ||
# map: | ||
# myDataType: \AppBundle\Model\DataObject\Data\MyDataType | ||
|
||
|
||
#### ASSET CUSTOM SETTINGS | ||
# assets: | ||
# versions: | ||
# use_hardlinks: false | ||
# image: | ||
# low_quality_image_preview: | ||
# enabled: false | ||
# generator: imagick | ||
|
||
#### SYMFONY OVERRIDES | ||
framework: | ||
|
||
#### USE SESSION HANDLER CONFIGURED IN php.ini | ||
# session: | ||
# handler_id: null | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
imports: | ||
- { resource: config.yml } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
imports: | ||
- { resource: config.yml } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
imports: | ||
- { resource: config_dev.yml } | ||
|
||
# this cache is used during tests when setting up pimcore | ||
pimcore: | ||
cache: | ||
pool_service_id: pimcore.cache.core.pool.array | ||
|
||
doctrine: | ||
dbal: | ||
connections: | ||
default: | ||
url: '%pimcore_test.db.dsn%' | ||
host: ~ | ||
port: ~ | ||
dbname: ~ | ||
user: ~ | ||
password: ~ | ||
|
||
parameters: | ||
pimcore_test.db.dsn: '%env(PIMCORE_TEST_DB_DSN)%' | ||
env(PIMCORE_TEST_DB_DSN): ~ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
parameters: | ||
secret: ThisTokenIsNotSoSecretChangeIt | ||
|
||
# customize the full path to external executables | ||
# normally they are auto-detected by `which program` or auto-discovered in the configured path in | ||
# System Settings -> General -> Additional $PATH variable | ||
# but in general it's a good idea to have your programs in your $PATH environment variable (system wide) | ||
|
||
#pimcore_executable_composer: php /opt/vendor/bin/composer.phar | ||
#pimcore_executable_html2text: /usr/local/html2text/bin/html2text | ||
#pimcore_executable_soffice: /opt/libreoffice/bin/soffice | ||
#pimcore_executable_gs: /opt/ghostscript/bin/gs | ||
#pimcore_executable_pdftotext: /opt/tools/pdftotext | ||
#pimcore_executable_xvfb-run: /opt/tools/xvfb-run | ||
#pimcore_executable_pngcrush: /opt/tools/pngcrush | ||
#pimcore_executable_zopflipng: /opt/tools/zopflipng | ||
#pimcore_executable_pngout: /opt/tools/pngout | ||
#pimcore_executable_advpng: /opt/tools/advpng | ||
#pimcore_executable_cjpeg: /opt/tools/cjpeg | ||
#pimcore_executable_jpegoptim: /opt/tools/jpegoptim | ||
#pimcore_executable_php: /usr/local/custom-php/bin/php | ||
#pimcore_executable_nice: /opt/tools/nice | ||
#pimcore_executable_nohup: /opt/tools/nohup | ||
#pimcore_executable_ffmpeg: /opt/tools/ffmpeg | ||
#pimcore_executable_exiftool: /opt/tools/exiftool | ||
|
Oops, something went wrong.