extracts the dashboard routes

removes hhvm check
This commit is contained in:
Connor S. Parks
2016-08-20 12:23:30 +01:00
parent 00ffc17f1b
commit 6ded0051ef
14 changed files with 632 additions and 245 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ if (!function_exists('array_numeric_sort')) {
$a = array_get($a, $key, PHP_INT_MAX);
$b = array_get($b, $key, PHP_INT_MAX);
$default = PHP_MAJOR_VERSION < 7 && !defined('HHVM_VERSION') ? 1 : 0;
$default = PHP_MAJOR_VERSION < 7 ? 1 : 0;
return $a < $b ? -1 : ($a === $b ? $default : 1);
});