Lines Matching refs:file_exists
84 if (file_exists(DOKU_INC . 'VERSION')) {
104 if (file_exists(DOKU_INC . '.git/HEAD')) {
110 if (file_exists($pathToHead)) {
128 if (file_exists($gitCommitObject) && function_exists('zlib_decode')) {
188 } elseif (@file_exists('/.dockerenv')) {
206 if (@file_exists('/etc/os-release')) {
209 } elseif (@file_exists('/etc/synoinfo.conf') && @file_exists('/etc/VERSION')) {
268 } elseif (file_exists($conf['changelog'])) {
272 if (isset($conf['changelog_old']) && file_exists($conf['changelog_old'])) {
276 if (file_exists($conf['changelog'] . '_failed')) {
278 } elseif (file_exists($conf['changelog'] . '_importing')) {
280 } elseif (file_exists($conf['changelog'] . '_import_ok')) {
348 if (file_exists($INFO['filepath']) && is_writable($INFO['filepath'])) {
350 } elseif (!file_exists($INFO['filepath']) && is_writable(dirname($INFO['filepath']))) {