mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
fix
This commit is contained in:
parent
493ffd1719
commit
e8e63d0e55
|
@ -170,8 +170,8 @@ $config['module']['image']['default']['watermark_min_height'] = 130;
|
|||
$config['module']['image']['default']['round_corner'] = false;
|
||||
$config['module']['image']['default']['round_corner_radius'] = '18';
|
||||
$config['module']['image']['default']['round_corner_rate'] = '40';
|
||||
$config['module']['image']['default']['path']['watermarks'] = '___path.root.server___/engine/lib/external/LiveImage/watermarks/';
|
||||
$config['module']['image']['default']['path']['fonts'] = '___path.root.server___/engine/lib/external/LiveImage/fonts/';
|
||||
$config['module']['image']['default']['path']['watermarks'] = '___path.framework.libs_vendor.server___/LiveImage/watermarks/';
|
||||
$config['module']['image']['default']['path']['fonts'] = '___path.framework.libs_vendor.server___/LiveImage/fonts/';
|
||||
$config['module']['image']['default']['jpg_quality'] = 95; // Число от 0 до 100
|
||||
|
||||
$config['module']['image']['foto']['watermark_use'] = false;
|
||||
|
|
|
@ -44,7 +44,7 @@ class PluginProfiler_ModuleProfiler extends Module {
|
|||
*/
|
||||
public function Init() {
|
||||
$this->oMapper=Engine::GetMapper(__CLASS__);
|
||||
$this->hLog = @fopen(Config::Get('path.root.server').'/logs/'.Config::Get('sys.logs.profiler_file'),'r+');
|
||||
$this->hLog = @fopen(Config::Get('path.application.server').'/logs/'.Config::Get('sys.logs.profiler_file'),'r+');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -84,7 +84,7 @@ class LoadFixtures
|
|||
echo "ExportSQL DATABASE $sDbname -> install_base.sql \n";
|
||||
// Load dump from geo_base.sql
|
||||
|
||||
if(file_exists(Config::Get('path.root.server') . '/tests/fixtures/sql/patch.sql')) {
|
||||
if(file_exists(Config::Get('path.application.server') . '/tests/fixtures/sql/patch.sql')) {
|
||||
$result = $this->oEngine->Database_ExportSQL(dirname(__FILE__) . '/fixtures/sql/patch.sql');
|
||||
|
||||
if (!$result['result']) {
|
||||
|
@ -165,7 +165,7 @@ class LoadFixtures
|
|||
* @return void
|
||||
*/
|
||||
public function loadPluginFixtures($plugin) {
|
||||
$sPath = Config::Get('path.root.server') . '/plugins/' . $plugin . '/tests/fixtures';
|
||||
$sPath = Config::Get('path.application.plugins.server') . '/' . $plugin . '/tests/fixtures';
|
||||
if (!is_dir($sPath)) {
|
||||
throw new InvalidArgumentException('Plugin not found by LS directory: ' . $sPath, 10);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue