Lines Matching refs:file_exists
84 if (file_exists(DOKU_INC . 'VERSION')) {
103 if (file_exists(DOKU_INC . '.git/HEAD')) {
109 if (file_exists($pathToHead)) {
127 if (file_exists($gitCommitObject) && function_exists('zlib_decode')) {
187 } elseif (@file_exists('/.dockerenv')) {
205 if (@file_exists('/etc/os-release')) {
208 } elseif (@file_exists('/etc/synoinfo.conf') && @file_exists('/etc/VERSION')) {
267 } elseif (file_exists($conf['changelog'])) {
271 if (isset($conf['changelog_old']) && file_exists($conf['changelog_old'])) {
275 if (file_exists($conf['changelog'] . '_failed')) {
277 } elseif (file_exists($conf['changelog'] . '_importing')) {
279 } elseif (file_exists($conf['changelog'] . '_import_ok')) {
350 if (file_exists($INFO['filepath']) && is_writable($INFO['filepath'])) {
352 } elseif (!file_exists($INFO['filepath']) && is_writable(dirname($INFO['filepath']))) {