30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Created by CS medien- & kommunikationssysteme.
|
|
* @author Christian Steinle
|
|
* @date 29.09.2016
|
|
*
|
|
* @copyright CS medien- & kommunikationssysteme (http://www.steinle-computer.de)
|
|
*/
|
|
|
|
$editor['name'] = 'AHD Allradhaus GmbH';
|
|
if (ENVIRONMENT === 'local')
|
|
{
|
|
$editor['editorUrl'] = SCHEME . '://csteinle.ddns.net/rist-editors/';
|
|
$editor['editorVersion'] = '2.0.0';
|
|
}
|
|
elseif (ENVIRONMENT === 'production')
|
|
{
|
|
$editor['editorUrl'] = SCHEME . '://rist-editors.ri-st.de/';
|
|
$editor['editorVersion'] = '1.0.2';
|
|
}
|
|
$editor['webserviceUrl'] = HOST_URL . str_replace(PATH_ROOT, '', dirname(__DIR__)) . '/remote_data.php';
|
|
|
|
$editor['imageTypes'] = array('image/png', 'image/jpeg', 'image/gif');
|
|
$editor['imageDimension']['small'] = array('width' => 480, 'height' => 360, 'quality' => 95);
|
|
$editor['imageDimension']['keyVisual'] = array('width' => 1368, 'height' => 342, 'quality' => 95);
|
|
$editor['imageDimension']['orig'] = array('width' => 2560, 'height' => 2560, 'quality' => 99);
|
|
|
|
$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'; |