————————–
HOW TO INSTALL DABSAH
————————–

1. Upload All file in your webserver (www or public_html)
2. In your server you have 4 folder
– admin
– member
– mikman
– login
– images
3. Create database and import database sql Dabsah.
4. Edit config and database.
*** folder admin

=> open file config.php in folder admin/application/config/
edit line $config[‘base_url’] = ”;
edit to $config[‘base_url’] = ‘enter_your_url’;
example like $config[‘base_url’] = ‘https://dabsah.codekece.com/admin/’;

=> open file database.php in folder admin/application/config/
edit line databse setting

‘hostname’ => ‘localhost’, -> change with your hostname database
‘username’ => ‘root’, -> change with your user database
‘password’ => ”, -> change with your password database
‘database’ => ‘c4dabsah’, -> change with your database name

*** folder member (edit like you edit config admin)

=> open file config.php in folder admin/application/config/
edit line $config[‘base_url’] = ”;
edit to $config[‘base_url’] = ‘enter_your_url’;
example like $config[‘base_url’] = ‘https://dabsah.codekece.com/member/’;

=> open file database.php in folder admin/application/config/
edit line databse setting

‘hostname’ => ‘localhost’, -> change with your hostname database
‘username’ => ‘root’, -> change with your user database
‘password’ => ”, -> change with your password database
‘database’ => ‘c4dabsah’, -> change with your database name

*** folder mikman

=> open file database.php in folder mikman/inc/
edit line time setting and database setting

date_default_timezone_set(‘Asia/Jakarta’); -> change with your time zone
$localhost = ‘localhost’; -> change with your hostname database
$my_user = ‘root’; -> change with your user database
$my_password = ”; -> change with your password database
$my_db = ‘c4dabsah’; -> change with your database name

=> change permition
change permition folder user_data to chmod 777

*** folder login

=> open file syncmikmanDatabase.php in folder login/inc/
edit line time setting and database setting

date_default_timezone_set(‘Asia/Jakarta’); -> change with your time zone
$localhost = ‘localhost’; -> change with your hostname database
$my_user = ‘root’; -> change with your user database
$my_password = ”; -> change with your password database
$my_db = ‘c4dabsah’; -> change with your database name

*** folder images

=> change permition
change permition folder images to chmod 777

5. Username and Password

*** admin panel
username : admin
password : 123456

*** member panel
email : demo@codekece.com
password : 123456

———————-
DABSAH MIKROTIK
———————-

1. Add Walled Garden to Mikrotik ip->hotspot->walled-garden

=> login to mikrotik via winbox, open menu new terminal add paste the script :

* allow your url dabsah to access without login, the script :

/ip hotspot walled-garden
add dst-host=*yourdomaindabsah*

example :

/ip hotspot walled-garden
add dst-host=*dabsah*


* if you need login by facebook and instagram, the script :

/ip hotspot walled-garden
add dst-host=*facebook*
add dst-host=*akamaihd*
add dst-host=*fbcdn*
add dst-host=*instagram*

* if you need login by google, the script :

/ip hotspot walled-garden
add dst-host=*google*
add dst-host=*googleapis*
add dst-host=*gstatic*
add dst-host=*googleusercontent*

* if you need login by twitter, the script :

/ip hotspot walled-garden
add dst-host=*twitter*
add dst-host=*twimg*