Lines Matching full:local
99 //Check if the sympa soap server is rightly set up in the file local.php
100 if (!$local_handle = fopen(DOKU . '/conf/local.php', 'r')) {
122 if (!$local_handle = fopen(DOKU . '/conf/local.php', 'r')) {
150 if (file_exists(DOKU . '/conf/local.php')) {
151 if (!copy(DOKU . '/conf/local.php', DOKU . '/conf/local.php.bak')) return false;
154 …// Open local.php, copy its content to $lines, look for $conf['sympaSoapService'] line(s) delete i…
156 …in']['sympaauth']['sympaSoapService'] should be before "@include(DOKU_CONF.'local.protected.php');"
159 …if (file_exists(DOKU .'/conf/local.php') && $local_handle = fopen(DOKU . '/conf/local.php', 'r')) …
164 } while (!(preg_match('!local.protected.php!', $lines[$i++]) || feof($local_handle)) );
180 if (!$local_handle = fopen(DOKU . '/conf/local.php', 'w+')) return false;
186 …// Delete local.php (a backup was created few lines before), then copy $lines to a new local.php. …
187 if(!unlink(DOKU . '/conf/local.php')) return false;
188 if (!$local_handle = fopen(DOKU . '/conf/local.php', 'w')) {
189 copy(DOKU . '/conf/local.php.bak', DOKU . '/conf/local.php');
195 unlink(DOKU . '/conf/local.php');
196 copy(DOKU . '/conf/local.php.bak', DOKU . '/conf/local.php');
221 if (file_exists(DOKU . '/conf/local.php')) {
222 if (!copy(DOKU . '/conf/local.php', DOKU . '/conf/local.php.bak')) return false;
225 …// Open local.php, copy its content to $lines, look for $conf['sympaSoapService'] line(s) and dele…
226 if (!$local_handle = fopen(DOKU . '/conf/local.php', 'r')) return false;
235 …// Delete local.php after having backed it up, then copy $lines to a new local.php. Restore backup…
236 if(!unlink(DOKU . '/conf/local.php')) return false;
237 if (!$local_handle = fopen(DOKU . '/conf/local.php', 'w+')) {
238 copy(DOKU . '/conf/local.php.bak', DOKU . '/conf/local.php');
244 unlink(DOKU . '/conf/local.php');
245 copy(DOKU . '/conf/local.php.bak', DOKU . '/conf/local.php');
319 copy(DOKU . '/conf/local.php.bak', DOKU . '/conf/local.php');
324 copy(DOKU . '/conf/local.php.bak', DOKU . '/conf/local.php');