htdocs/class/uploader.php 1 location
|
@@ 148-150 (lines=3) @@
|
145 |
|
if (isset($randomFilename)) { |
146 |
|
$this->randomFilename = $randomFilename; |
147 |
|
} |
148 |
|
if (!include_once $GLOBALS['xoops']->path('language/' . $GLOBALS['xoopsConfig']['language'] . '/uploader.php')) { |
149 |
|
include_once $GLOBALS['xoops']->path('language/english/uploader.php'); |
150 |
|
} |
151 |
|
} |
152 |
|
|
153 |
|
/** |
htdocs/modules/profile/class/field.php 1 location
|
@@ 244-248 (lines=5) @@
|
241 |
|
**/ |
242 |
|
public function getOutputValue(&$user, $profile) |
243 |
|
{ |
244 |
|
if (file_exists($file = $GLOBALS['xoops']->path('modules/profile/language/' . $GLOBALS['xoopsConfig']['language'] . '/modinfo.php'))) { |
245 |
|
include_once $file; |
246 |
|
} else { |
247 |
|
include_once $GLOBALS['xoops']->path('modules/profile/language/english/modinfo.php'); |
248 |
|
} |
249 |
|
|
250 |
|
$value = in_array($this->getVar('field_name'), $this->getUserVars()) ? $user->getVar($this->getVar('field_name')) : $profile->getVar($this->getVar('field_name')); |
251 |
|
|