mirror of
https://github.com/Ramaerel/emulatorjs-GameLibrary.git
synced 2026-02-06 10:56:54 +00:00
Delete NewGamesLibrary.php
This commit is contained in:
parent
521e754496
commit
3dd4f1e008
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
require './fnc.php';
|
||||
if(file_exists("./config.ini")) {
|
||||
$conf = parse_ini_file("config.ini");
|
||||
echo('<html style="background-color:'.$conf["bgcolor"].';">');
|
||||
$romdirectory = $conf["rom_dir"];
|
||||
if(is_dir($romdirectory)) {
|
||||
$gamedata = buildRomList($romdirectory);
|
||||
} else {
|
||||
mkdir($romdirectory);
|
||||
$gamedata = buildRomList($romdirectory);
|
||||
}
|
||||
} else {
|
||||
echo('<html style="background-color:#333333;">');
|
||||
$romdirectory = './roms/';
|
||||
$gamedata = buildRomList($romdirectory);
|
||||
|
||||
}
|
||||
$romlist = scandir($romdirectory);
|
||||
for($i=0; $i<count($romlist)-2; $i++) {
|
||||
$romlistfin[$i] = $romlist[$i + 2];
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
if($conf["core"]=="ejs") { include("./ejs.php"); }
|
||||
elseif($conf["core"]=="ljs") { include("./ljs.php"); }
|
||||
else { include("./ejs.php"); }
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user