init smarty plugin
Dieser Commit ist enthalten in:
Ursprung
dc7313967d
Commit
405b3d9fe3
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin>
|
||||
<general active="1">
|
||||
<plugin_name>Smarty Wrapper</plugin_name>
|
||||
|
@ -15,5 +15,5 @@
|
|||
<requirements php="5.6">
|
||||
<conlite minversion="2.0" />
|
||||
</requirements>
|
||||
<contenido />
|
||||
<conlite />
|
||||
</plugin>
|
|
@ -67,7 +67,7 @@ class cSmartyFrontend {
|
|||
|
||||
self::$oSmarty = new cSmartyWrapper();
|
||||
self::$aDefaultPaths = array(
|
||||
'template_dir' => $aClientCfg['module']['path'],
|
||||
'template_dir' => $aClientCfg['tpl']['path'],
|
||||
'cache_dir' => $aClientCfg['cache']['path'] . 'templates_c',
|
||||
'compile_dir' => $aClientCfg['cache']['path'] . 'templates_c'
|
||||
);
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
<?php
|
||||
|
||||
defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
|
||||
|
||||
rereadClients();
|
||||
$client = (isset($client)) ? $client : $load_client;
|
||||
|
||||
// Load smarty
|
||||
if (!defined('SMARTY_DIR')) {
|
||||
define('SMARTY_DIR', cRegistry::getConfigValue('path', 'conlite')
|
||||
|
|
Laden…
In neuem Issue referenzieren