forked from halo-battle/game
Fix settings for dev
This commit is contained in:
parent
f88f9499d0
commit
1bcad3d120
@ -1 +1 @@
|
|||||||
C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2\load.php
|
../onyx2/load.php
|
1
htdocs/captcha/.onyx
Normal file
1
htdocs/captcha/.onyx
Normal file
@ -0,0 +1 @@
|
|||||||
|
../../onyx2/load.php
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
define('INDEX', 1);
|
define('INDEX', 1);
|
||||||
//Inclusion de l'API Onyx
|
//Inclusion de l'API Onyx
|
||||||
require_once(trim(file_get_contents('../.onyx')));
|
require_once(trim(file_get_contents('./.onyx')));
|
||||||
|
|
||||||
$SESS = new Session();
|
$SESS = new Session();
|
||||||
|
|
||||||
@ -55,4 +55,4 @@ else
|
|||||||
ImageTTFText($_img, 20, mt_rand(1,5), rand(1,7), 30, $avant_plan, $fontfile, $captcha);
|
ImageTTFText($_img, 20, mt_rand(1,5), rand(1,7), 30, $avant_plan, $fontfile, $captcha);
|
||||||
|
|
||||||
imagepng($_img);
|
imagepng($_img);
|
||||||
?>
|
?>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configs active="1" root="C:/Users/Pierre-Olivier/Programmation/PHP/halo-battle/htdocs/" cache="1">
|
<configs active="1" root="/usr/src/hb-main/htdocs/" cache="1">
|
||||||
<config match="admin.php">
|
<config match="/admin.php">
|
||||||
<var name="menu">
|
<var name="menu">
|
||||||
<var name="accueil">?p=accueil</var>
|
<var name="accueil">?p=accueil</var>
|
||||||
<var name="courrier">?p=courrier</var>
|
<var name="courrier">?p=courrier</var>
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
if(!defined('ONYX')) exit;
|
if(!defined('ONYX')) exit;
|
||||||
|
|
||||||
$___profile['db'] = 'halo_battle';
|
$___profile['db'] = 'hb_game';
|
||||||
$___profile['host'] = 'localhost';
|
$___profile['host'] = 'localhost';
|
||||||
$___profile['user'] = 'root';
|
$___profile['user'] = 'hb';
|
||||||
$___profile['pass'] = 'rmss169';
|
$___profile['pass'] = 'hb';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user