Delete require Smarty and initVendors
This commit is contained in:
@@ -625,7 +625,6 @@ class SkinEngine
|
|||||||
|
|
||||||
private function _default($enableJsScript=true)
|
private function _default($enableJsScript=true)
|
||||||
{
|
{
|
||||||
require_once PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php'; // put full path to Smarty.class.php
|
|
||||||
global $G_ENABLE_BLANK_SKIN;
|
global $G_ENABLE_BLANK_SKIN;
|
||||||
//menu
|
//menu
|
||||||
global $G_PUBLISH;
|
global $G_PUBLISH;
|
||||||
|
|||||||
@@ -891,9 +891,6 @@ if (! $avoidChangedWorkspaceValidation && isset( $_SESSION['WORKSPACE'] ) && $_S
|
|||||||
$RBAC = &RBAC::getSingleton( PATH_DATA, session_id() );
|
$RBAC = &RBAC::getSingleton( PATH_DATA, session_id() );
|
||||||
$RBAC->sSystem = 'PROCESSMAKER';
|
$RBAC->sSystem = 'PROCESSMAKER';
|
||||||
|
|
||||||
//Enable Monolog
|
|
||||||
Bootstrap::initVendors();
|
|
||||||
|
|
||||||
// define and send Headers for all pages
|
// define and send Headers for all pages
|
||||||
if (! defined( 'EXECUTE_BY_CRON' )) {
|
if (! defined( 'EXECUTE_BY_CRON' )) {
|
||||||
header( "Expires: " . gmdate( "D, d M Y H:i:s", mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - 1, date( 'Y' ) ) ) . " GMT" );
|
header( "Expires: " . gmdate( "D, d M Y H:i:s", mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - 1, date( 'Y' ) ) ) . " GMT" );
|
||||||
|
|||||||
Reference in New Issue
Block a user