source: extensions/CryptograPHP/include/common.inc.php @ 26041

Last change on this file since 26041 was 26041, checked in by mistic100, 10 years ago

update for 2.6

File size: 559 bytes
Line 
1<?php
2defined('CRYPTO_ID') or die('Hacking attempt!');
3
4global $template;
5
6if (isset($conf['cryptographp_button_color']))
7{
8  $conf['cryptographp']['button_color'] = $conf['cryptographp_button_color'];
9}
10
11load_language('plugin.lang', CRYPTO_PATH);
12
13$template->assign(array(
14  'CRYPTO' => $conf['cryptographp'],
15  'CRYPTO_PATH' => get_absolute_root_url().CRYPTO_PATH,
16  ));
17 
18$template->set_filename('cryptographp', realpath(CRYPTO_PATH.'template/'.$conf['cryptographp']['template'].'.tpl'));
19$template->assign_var_from_handle('CRYPTOGRAPHP', 'cryptographp');
Note: See TracBrowser for help on using the repository browser.