functions.php: fix after removing spanish language from rolling
This commit is contained in:
parent
8f2d64a5da
commit
7d44cf61cb
@ -57,6 +57,8 @@ add_filter('wp_nav_menu_items','add_search_box', 10, 2);
|
||||
|
||||
// openmamba downloads pages
|
||||
function openmamba_download_link($milestone, $medium, $currarch, $ext, $mlword, $lang) {
|
||||
$latest_file = "/var/ftp/pub/openmamba/media/".$milestone."/".$medium."/".$lang."/latest.inc.php";
|
||||
if (!file_exists($latest_file)) return "";
|
||||
eval(file_get_contents("/var/ftp/pub/openmamba/media/".$milestone."/".$medium."/".$lang."/latest.inc.php"));
|
||||
if ("$milestone" == "devel") {
|
||||
$displaymilestone = "rolling";
|
||||
|
Loading…
Reference in New Issue
Block a user