Update site
This commit is contained in:
parent
d6633930c9
commit
94c24b26d0
1 changed files with 3 additions and 7 deletions
|
@ -1,10 +1,6 @@
|
|||
<?php
|
||||
$local_file = false;
|
||||
if( basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {
|
||||
$local_file = true;
|
||||
}
|
||||
|
||||
function loadIndexesFromDir($output, $outputIndexes, $dir, $elementName, $mapNodes){
|
||||
function loadIndexesFromDir($out, $outputIndexes, $dir, $elementName, $mapNodes){
|
||||
$local_file = basename($_SERVER['PHP_SELF']) == basename(__FILE__);
|
||||
if (is_dir($dir)) {
|
||||
if ($dh = opendir($dir)) {
|
||||
$zip = new ZipArchive();
|
||||
|
@ -59,7 +55,7 @@ function loadIndexesFromDir($output, $outputIndexes, $dir, $elementName, $mapNod
|
|||
}
|
||||
|
||||
function updateGoogleCodeIndexes($update=false) {
|
||||
|
||||
$local_file = basename($_SERVER['PHP_SELF']) == basename(__FILE__);
|
||||
if( $local_file) {
|
||||
$update = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue