Fikset at modulnummeret ikke ble vist i index-filene.
parent
3c7e76e4fb
commit
15ed8f1e6b
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
$dir = array_diff(scandir("./"), array('..','.','index.php','common.php'));
|
||||
|
||||
$modul = is_numeric(substr($_SERVER['REQUEST_URI'],-3,2));
|
||||
$modul = substr($_SERVER['REQUEST_URI'],-2,1);
|
||||
|
||||
function getModuleName($input): string {
|
||||
$oppg = substr($input, -5, 1);
|
||||
|
|
Loading…
Reference in New Issue