Skip to content
Snippets Groups Projects
Commit 53e915c5 authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

debug

parent 1a7e5170
No related branches found
No related tags found
1 merge request!1Merge upstream
......@@ -149,19 +149,22 @@
<?php
$blast_list = explode("&", getenv('ENABLE_BLAST'));
$blast_urls = array();
foreach ($blast_list as $item)
foreach ($blast_list as $item){
list($str1,$str2) = explode('=', $item, 2);
$name = "Blast";
if (strlen($str2) == 0)
if ($str1 == "1")
if (strlen($str2) == 0){
if ($str1 == "1"){
$url = $GLOBALS['base_url'].'/blast';
else
}else{
$url = $str1;
else
}
}else{
$name = $str1;
$url = $str2;
}
$blast_urls[$name] = $url;
print_r($blast_urls);
}
?>
<?php if (count($blast_urls) > 1): ?>
<li id="menu-item-46" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-46">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment