fix code style
This commit is contained in:
@@ -10,9 +10,6 @@ use ProcessMaker\Model\User;
|
|||||||
$conf = new Configurations();
|
$conf = new Configurations();
|
||||||
|
|
||||||
$oHeadPublisher = headPublisher::getSingleton();
|
$oHeadPublisher = headPublisher::getSingleton();
|
||||||
// $oHeadPublisher->addExtJsScript("cases/main", false); //Adding a javascript file .js
|
|
||||||
// $oHeadPublisher->addContent("cases/main"); //Adding a html file .html.
|
|
||||||
// $oHeadPublisher->addContent("cases/viena"); //Adding a html file .html.
|
|
||||||
|
|
||||||
$keyMem = "USER_PREFERENCES" . $_SESSION["USER_LOGGED"];
|
$keyMem = "USER_PREFERENCES" . $_SESSION["USER_LOGGED"];
|
||||||
$memcache = PMmemcached::getSingleton(config("system.workspace"));
|
$memcache = PMmemcached::getSingleton(config("system.workspace"));
|
||||||
|
|||||||
@@ -141,7 +141,6 @@ class SkinEngine
|
|||||||
if (file_exists($skinObject . PATH_SEP . 'layout-viena.html')) {
|
if (file_exists($skinObject . PATH_SEP . 'layout-viena.html')) {
|
||||||
$layoutFileViena = $skinObject . PATH_SEP . 'layout-viena.html';
|
$layoutFileViena = $skinObject . PATH_SEP . 'layout-viena.html';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->layoutFile = pathInfo($layoutFile);
|
$this->layoutFile = pathInfo($layoutFile);
|
||||||
|
|||||||
@@ -441,16 +441,16 @@ if (Bootstrap::virtualURI($_SERVER['REQUEST_URI'], $virtualURITable, $realPath))
|
|||||||
$arrayMatch)) ? $arrayMatch[1] : $_SERVER["REQUEST_URI"];
|
$arrayMatch)) ? $arrayMatch[1] : $_SERVER["REQUEST_URI"];
|
||||||
|
|
||||||
$fileToBeStreamed = str_replace("/skin/", PATH_CUSTOM_SKINS, $url);
|
$fileToBeStreamed = str_replace("/skin/", PATH_CUSTOM_SKINS, $url);
|
||||||
|
|
||||||
if (file_exists($fileToBeStreamed)) {
|
if (file_exists($fileToBeStreamed)) {
|
||||||
//NewRelic Snippet - By JHL
|
//NewRelic Snippet - By JHL
|
||||||
transactionLog($fileToBeStreamed);
|
transactionLog($fileToBeStreamed);
|
||||||
|
|
||||||
Bootstrap::streamFile($fileToBeStreamed);
|
Bootstrap::streamFile($fileToBeStreamed);
|
||||||
}
|
}
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($realPath) {
|
switch ($realPath) {
|
||||||
case 'jsMethod':
|
case 'jsMethod':
|
||||||
Bootstrap::parseURI(getenv("REQUEST_URI"));
|
Bootstrap::parseURI(getenv("REQUEST_URI"));
|
||||||
|
|||||||
Reference in New Issue
Block a user