Fix settings for dev

This commit is contained in:
nemunaire 2020-11-15 17:18:12 +01:00
parent f88f9499d0
commit 1bcad3d120
5 changed files with 10 additions and 9 deletions

View File

@ -1 +1 @@
C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2\load.php
../onyx2/load.php

1
htdocs/captcha/.onyx Normal file
View File

@ -0,0 +1 @@
../../onyx2/load.php

View File

@ -1,7 +1,7 @@
<?php
define('INDEX', 1);
//Inclusion de l'API Onyx
require_once(trim(file_get_contents('../.onyx')));
require_once(trim(file_get_contents('./.onyx')));
$SESS = new Session();
@ -55,4 +55,4 @@ else
ImageTTFText($_img, 20, mt_rand(1,5), rand(1,7), 30, $avant_plan, $fontfile, $captcha);
imagepng($_img);
?>
?>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<configs active="1" root="C:/Users/Pierre-Olivier/Programmation/PHP/halo-battle/htdocs/" cache="1">
<config match="admin.php">
<configs active="1" root="/usr/src/hb-main/htdocs/" cache="1">
<config match="/admin.php">
<var name="menu">
<var name="accueil">?p=accueil</var>
<var name="courrier">?p=courrier</var>

View File

@ -2,9 +2,9 @@
if(!defined('ONYX')) exit;
$___profile['db'] = 'halo_battle';
$___profile['db'] = 'hb_game';
$___profile['host'] = 'localhost';
$___profile['user'] = 'root';
$___profile['pass'] = 'rmss169';
$___profile['user'] = 'hb';
$___profile['pass'] = 'hb';
?>
?>