supernova-ws /
SuperNova
| 1 | <?php |
||
| 2 | |||
| 3 | include_once('common.' . substr(strrchr(__FILE__, '.'), 1)); |
||
| 4 | |||
| 5 | if(SN::$gc->modules->countModulesInGroup('payment') && !SN_GOOGLE) { |
||
| 6 | sys_redirect('metamatter.php'); |
||
| 7 | } |
||
| 8 | |||
| 9 | $template = SnTemplate::gettemplate('dark_matter', true); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 10 | |||
| 11 | lng_include('infos'); |
||
| 12 | $template->assign_vars(array( |
||
| 13 | 'URL_DARK_MATTER' => SN::$config->url_dark_matter, |
||
|
0 ignored issues
–
show
The property
url_dark_matter does not exist on classConfig. Since you implemented __get, consider adding a @property annotation.
Loading history...
|
|||
| 14 | 'DARK_MATTER_DESCRIPTION' => $lang['info'][RES_DARK_MATTER]['description'], |
||
| 15 | |||
| 16 | 'PAYMENT_AVAILABLE' => SN::$gc->modules->countModulesInGroup('payment') && !SN_GOOGLE, |
||
| 17 | |||
| 18 | 'PAGE_HEADER' =>$lang['sys_dark_matter'], |
||
| 19 | )); |
||
| 20 | |||
| 21 | SnTemplate::display($template, $lang['sys_dark_matter']); |
||
| 22 |