Lines Matching refs:file_exists
87 if (file_exists(DOKU_INC . 'VERSION')) {
107 if (file_exists(DOKU_INC . '.git/HEAD')) {
113 if (file_exists($pathToHead)) {
131 if (file_exists($gitCommitObject) && function_exists('zlib_decode')) {
191 } elseif (@file_exists('/.dockerenv')) {
209 if (@file_exists('/etc/os-release')) {
212 } elseif (@file_exists('/etc/synoinfo.conf') && @file_exists('/etc/VERSION')) {
275 } elseif (file_exists($conf['changelog'])) {
279 if (isset($conf['changelog_old']) && file_exists($conf['changelog_old'])) {
283 if (file_exists($conf['changelog'] . '_failed')) {
285 } elseif (file_exists($conf['changelog'] . '_importing')) {
287 } elseif (file_exists($conf['changelog'] . '_import_ok')) {
355 if (file_exists($INFO['filepath']) && is_writable($INFO['filepath'])) {
357 } elseif (!file_exists($INFO['filepath']) && is_writable(dirname($INFO['filepath']))) {