This repository was archived by the owner on Mar 10, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload-example.php
More file actions
38 lines (33 loc) · 1.53 KB
/
load-example.php
File metadata and controls
38 lines (33 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/*******************************************************
* This is the secret configuration file of my website *
* *
* Fill and rename this file as 'load.php' *
* *
* NEVER PUT IN GIT YOUR 'load.php'! *
*******************************************************/
// Database configuration
$database = 'wikicaptcha';
$username = 'wikicaptcha';
$password = 'super secret password of wikicaptcha user';
$location = 'localhost';
$charset = 'utf8mb4';
// Prefix for every your database table (if any)
// Ask to Ludovico Pavesi if the API support this as well
$prefix = 'wcaptcha_';
// How you visit the homepage of this project?
// Use '' (empty) if you visit the homepage with http://localhost/
// Use '/project' if you visit the homepage with http://localhost/project/
define( 'ROOT', '' );
// Absolute pathname to the directory containing this configuration file
// You may leave this set to the magic word __DIR__ that means this directory
define( 'ABSPATH', __DIR__ );
// Load the framework
// You know where the framework is
// For example I put it in: '/usr/share/php/suckless-php/load.php'
// but often you want to put it in this same directory,
// in that case just use this pathname: ABSPATH . '/suckless-php/load.php'
// it could also be in the parent dir: ABSPATH . '/../suckless-php/load.php'
// etc.
// Anyway, it may be everywhere. You can choose.
require ABSPATH . '/suckless-php/load.php';