Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
831 florian 1
<?php
2
// A simple helper script that will setup initial module
3
// settings in case one of these settings is missing.
4
 
5
if(!defined("PHORUM") && !defined("PHORUM_ADMIN")) return;
6
 
7
if (! isset($PHORUM['mod_smileys'])           ||
8
    ! isset($PHORUM['mod_smileys']['prefix']) ||
9
    ! isset($PHORUM['mod_smileys']['smileys'])) {
10
    require_once("./mods/smileys/smileyslib.php");
11
    $PHORUM['mod_smileys'] = phorum_mod_smileys_initsettings();
12
}
13
 
14
?>