diff --git a/0.3/index.php b/0.3/index.php index 30fe190..8b6feb5 100755 --- a/0.3/index.php +++ b/0.3/index.php @@ -255,7 +255,7 @@ if (isset($_GET['export'])) { $subdirs = glob($directory . "*"); foreach($subdirs as $unit) { - if(is_dir($unit)) { + if(is_dir($unit) && strpos($unit.'/', DOC_FOLDER) === FALSE) { $unit=substr($unit, 2); $ini = parse_ini_file($unit.'/vvb.ini'); $config = new stdClass; @@ -289,7 +289,7 @@ if (isset($_GET['export_twitter'])) { $response = array(); foreach($subdirs as $unit) { - if(is_dir($unit)) { + if(is_dir($unit) && strpos($unit.'/', DOC_FOLDER) === FALSE) { $unit=substr($unit, 2); $ini = parse_ini_file($unit.'/vvb.ini'); if( $ini['SITE_TYPE'] == 'twitter' ) { @@ -323,7 +323,7 @@ if (isset($_GET['exportopml'])) // OPML $subdirs = glob($directory . "*"); foreach($subdirs as $unit) { - if(is_dir($unit)) { + if(is_dir($unit) && strpos($unit.'/', DOC_FOLDER) === FALSE) { $unit=substr($unit, 2); $ini = parse_ini_file($unit.'/vvb.ini'); $config = new stdClass; @@ -395,7 +395,7 @@ if( isset($_GET['updateall']) && ALLOW_FULL_UPDATE) { $directory = "./"; $subdirs = glob($directory . "*"); foreach($subdirs as $unit) { - if(is_dir($unit)) { + if(is_dir($unit) && strpos($unit.'/', DOC_FOLDER) === FALSE) { if( !file_exists(ROOT_DIR . '/' . $unit . '/.disabled')) { file_get_contents(serverUrl() . substr($_SERVER['PHP_SELF'], 0, -9) . $unit . '/index.php'); } @@ -406,7 +406,7 @@ if( isset($_GET['updateall']) && ALLOW_FULL_UPDATE) { $antibot = generate_antibot(); $form = '

-
+
'; @@ -589,7 +589,7 @@ if( !empty($_POST['generic']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_L


-
+
'; } @@ -778,7 +778,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY Identica

-
+
@@ -790,7 +790,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY

-
+
@@ -804,7 +804,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY

-
+
@@ -819,7 +819,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY

-
+
@@ -875,7 +875,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY $autoblogs = array(); foreach($subdirs as $unit) { - if(is_dir($unit)) + if(is_dir($unit) && strpos($unit.'/', DOC_FOLDER) === FALSE) { if( !file_exists(ROOT_DIR . '/' . $unit . '/.disabled')) { $ini = parse_ini_file(ROOT_DIR . '/' . $unit . '/vvb.ini'); @@ -936,3 +936,4 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY +