| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/GXModules/Gambio/StyleEdit/ |
Upload File : |
<?php
/* --------------------------------------------------------------
StyleEditController.inc.php 2019-03-14
Gambio GmbH
http://www.gambio.de
Copyright (c) 2016 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
namespace Gambio\StyleEdit;
use Gambio\StyleEdit\Core\BuildStrategies\Interfaces\SingletonStrategyInterface;
/**
* Class StyleEditConfiguration
* @package Gambio\StyleEdit
*/
class StyleEditConfiguration implements SingletonStrategyInterface
{
/**
* @var string
*/
protected $themesFolderPath;
/**
* @var string
*/
protected $uploadFolderPath;
/**
* @var string
*/
protected $tmpFolderPath;
/**
* @var string
*/
protected $publicFolderPath;
/**
* @var string
*/
protected $baseFolderPath;
/**
* StyleEditConfiguration constructor.
*/
public function __construct()
{
$this->baseFolderPath = realpath(__DIR__ . '/../../../') . DIRECTORY_SEPARATOR;
$this->themesFolderPath = realpath(__DIR__ . '/../../../themes/') . DIRECTORY_SEPARATOR;
$this->publicFolderPath = realpath(__DIR__ . '/../../../public') . DIRECTORY_SEPARATOR;
$this->uploadFolderPath = realpath(__DIR__ . '/../../../uploads/') . DIRECTORY_SEPARATOR;
$this->tmpFolderPath = realpath($this->uploadFolderPath . '/tmp/') . DIRECTORY_SEPARATOR;
}
/**
* @return string
*/
public function themesFolderPath(): string
{
return $this->themesFolderPath;
}
/**
* @return string
*/
public function baseFolderPath(): string
{
return $this->baseFolderPath;
}
/**
* @return string
*/
public function uploadFolderPath(): string
{
return $this->uploadFolderPath;
}
/**
* @return string
*/
public function publicFolderPath()
{
return $this->publicFolderPath;
}
/**
* @return string
*/
public function tmpFolderPath(): string
{
return $this->tmpFolderPath;
}
}