Erste lauffähige Umgebung

This commit is contained in:
2017-01-09 07:12:57 +00:00
parent b974059208
commit 30efdc809c
25 changed files with 1770 additions and 193 deletions

View File

@@ -10,7 +10,7 @@
$editor['name'] = 'AHD Allradhaus GmbH';
if (ENVIRONMENT === 'local')
{
$editor['editorUrl'] = SCHEME . '://csteinle.ddns.net/rist-editors/';
$editor['editorUrl'] = SCHEME . '://csteinle.ddnss.de/rist-editors/';
$editor['editorVersion'] = '2.0.0';
}
elseif (ENVIRONMENT === 'production')
@@ -22,10 +22,18 @@ $editor['webserviceUrl'] = HOST_URL . str_replace(PATH_ROOT, '', dirname(__DIR__
$editor['imageTypes'] = array('image/png', 'image/jpeg', 'image/gif');
$editor['imageDimension']['image'] = array('width' => 480, 'height' => null, 'standardImage' => HTML_IMG . 'standard_upload.jpg', 'quality' => 95);
$editor['imageDimension']['keyVisual'] = array('width' => 1368, 'height' => 342, 'standardImage' => HTML_IMG . 'standard_upload.jpg', 'quality' => 95, );
$editor['imageDimension']['keyVisual'] = array('width' => 1368, 'height' => 342, 'standardImage' => HTML_IMG . 'header_upload.jpg', 'quality' => 95);
$editor['imageDimension']['thumb'] = array('width' => 152, 'quality' => 90);
$editor['imageDimension']['orig'] = array('width' => 2560, 'height' => 2560, 'quality' => 97);
$editor['imageDimension']['orig'] = array('width' => 1920, 'height' => 1920, 'quality' => 93);
$editor['contentElements'] = array('subline', 'text', 'textimage');
$editor['backendPrefix'] = PATH_PREFIX . '/' . str_replace(PATH_ROOT, '', dirname(__DIR__));
$editor['backendUrl'] = HOST_URL . str_replace(PATH_ROOT, '', dirname(__DIR__)) . '/webservice/requestData.php';
$editor['backendUrl'] = HOST_URL . str_replace(PATH_ROOT, '', dirname(__DIR__)) . '/webservice/requestData.php';
$editor['linkReplacements'] = array('AHD');
$editor['editorPrefix'] = 'ahd';
$editor['mediaPath'] = PATH_ROOT . 'media/' . $editor['editorPrefix'] . '/';
$editor['mediaPrefix'] = HTML_MED . $editor['editorPrefix'] . '/';
$editor['fileExtensions'] = array('image/png' => 'png', 'image/jpeg' => 'jpg', 'image/gif' => 'gif');