HOR-3851
This commit is contained in:
1
thirdparty/html2ps_pdf/config.inc.php
vendored
1
thirdparty/html2ps_pdf/config.inc.php
vendored
@@ -102,7 +102,6 @@ define('MAX_IMAGE_ROW_LEN',16);
|
||||
define('MAX_TRANSPARENT_IMAGE_ROW_LEN',16);
|
||||
|
||||
define('CACHE_DIR', HTML2PS_DIR.'cache/');
|
||||
//define('OUTPUT_FILE_DIRECTORY', HTML2PS_DIR.'out/'.(!empty(config("system.workspace")) ? config("system.workspace") . '/' : ''));
|
||||
define('OUTPUT_FILE_DIRECTORY', PATH_OUTPUT_FILE_DIRECTORY);
|
||||
define('FPDF_PATH', HTML2PS_DIR.'fpdf/');
|
||||
|
||||
|
||||
@@ -239,11 +239,10 @@ class PmBootstrap extends Bootstrap
|
||||
public function initPropel($sys = '')
|
||||
{
|
||||
if (empty($sys)) {
|
||||
if (empty(config("system.workspace"))) {
|
||||
throw new Exception("Error: Undefined syemtem env. constant 'SYS_SYS'");
|
||||
}
|
||||
|
||||
$sys = config("system.workspace");
|
||||
if (empty($sys)) {
|
||||
throw new Exception("Error: Undefined system environment (workspace).");
|
||||
}
|
||||
}
|
||||
|
||||
// setup propel definitions and logging
|
||||
|
||||
@@ -33,8 +33,6 @@ $oProcess = new Process();
|
||||
$oProcess->dir = $dir;
|
||||
$oProcess->sort = $sort;
|
||||
|
||||
//$memcache = & PMmemcached::getSingleton( config("system.workspace") );
|
||||
|
||||
$memkey = 'no memcache';
|
||||
$memcacheUsed = 'not used';
|
||||
$totalCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user