Lines Matching full:if

24  * If $knownonly is true (the default), then only known extensions
31 * @return array with extension, mimetype and if it should be downloaded
37 if ($ext === false) {
41 if (!isset($mtypes[$ext])) {
42 if ($knownonly) {
48 if ($mtypes[$ext][0] == '!') {
63 if (!$mime) {
78 if (!$acronyms) {
93 if (!$smileys) {
108 if (!$entities) {
123 if (!$wikis) {
148 if ($line === '') continue;
158 if ($event->advise_before()) {
159 if (!$conf['jquerycdn']) {
188 if (!$wordblocks) {
202 if (!$schemes) {
214 * If $lower is set to true all hash keys are converted to
230 if (isset($lines[0]) && str_starts_with($lines[0], pack('CCC', 0xef, 0xbb, 0xbf)))
237 if ($line === '') continue;
241 if ($lower) {
254 * If $lower is set to true all hash keys are converted to
270 if (!$lines) return $conf;
288 if ($conf === null) {
314 if (!is_array($params)) $params = [];
317if (!is_array($config_cascade[$type])) trigger_error('Missing config cascade for "' . $type . '"',…
319 if (empty($config_cascade[$type][$config_group])) continue;
321 if (file_exists($file)) {
344if (!is_array($config_cascade[$type])) trigger_error('Missing config cascade for "' . $type . '"',…
346 if (empty($config_cascade[$type][$config_group])) continue;
354 * check if the given action was disabled in config
358 * @returns boolean true if enabled, false if disabled
363 if (is_null($disabled) || defined('SIMPLE_TEST')) {
371 if (
377 if (
383if ((isset($conf['subscribers']) && !$conf['subscribers']) || !$auth instanceof AuthPlugin) {
386 if (!$auth instanceof AuthPlugin || !$auth->canDo('Profile')) {
389 if (!$auth instanceof AuthPlugin || !$auth->canDo('delUser')) {
392 if (!$auth instanceof AuthPlugin) {
395 if (!$auth instanceof AuthPlugin || !$auth->canDo('logout')) {
405 * check if headings should be used as link text for the specified link type
411 * @return boolean true if headings should be used for $linktype, false otherwise
416 if (defined('DOKU_UNITTEST')) $useHeading = null; // don't cache during unit tests
418 if (is_null($useHeading)) {
421 if (!empty($conf['useheading'])) {
484 if (str_starts_with($val, DOKU_CONF_NEGATION)) {
486 if ($idx !== false) {