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