User Tools

Site Tools


usage:api

config.ini

[globals]
# These are globals for doyosi script.

DEBUG=0
# Debug must be 0 if you don't try to extend your doyosi.**

PLUGINS=app/lib/
# Plugins folder for framework**

UI=templates/
#Templates folders**

ASSETS=templates/assets/ 
#Assets in template**

IMAGES=images/
#Uploaded images will be here**

UPLOADDATA=upload_data/
#Uploaded data will be here**

DOYOSILOCALES=app/locales/
#Locale files folder**

DOYOSILANG=en
#Main site lang**

AUTOLOAD=app/|app/models/|app/helpers/
#Autoloaded files**

category_slug = category
#Dont change**

page_slug = page
#Dont change**

order_slug = order
#Dont change
firm_url = firm/
#Dont change**

domain_url = domain/
#Dont change**

blog_url = blog/
#Dont change**

news_url = news/
#Dont change**

announcement_url = announcement/
#Dont change**

sitesalt = A789AA8B7V9DWQTTTADOYOSI
#Minimum 24chars site salt** 

DB SETTINGS

dbhost= localhost
#DB host, generally localhost**
dbname= 
#DB name, your db name**
dbuser= 
**#DB user, your db user name**
dbpass= 
**#DB password, your pass for user**
[configs]
app/configs/apis.ini=true

apis.php

Doyosi Apis

[doyosi]

use = yes
#this must bu yes if you want to use your system work

apikey=
#your api key which you can get in member panel

whois=api.doyosi.com
#api address

park=api.doyosi.com
#whois api address
[cpanel]

use = yes
#this must bu yes if you want to use cpanel parking

parkip=
#your park server ip

port=2083
#your cpanel ip port default 2083

user=
#your cpanel user name

password=
#your cpanel user password

parkdomain=
#your cpanel park domain

security=
#your security code (min 10 char alphanumeric)
[paypal]

use = yes
#set yes if you want to use paypal as payment gateway

user=
#Paypal bussinness account user

pass=
#Paypal bussinness account pass

secret=
#Paypal bussinness account secret

#dont chage this
checkoutURL=payment/checkout
returnURL=payment/checkout/confirm
cancelURL=payment/checkout/cancel
#dont chage this
[twitter]
use = yes
#set yes if you want to use twitter api for send domains to twitter

oauth_access_token=
oauth_access_token_secret=
consumer_key=
consumer_secret=
#app secrets, you will get them from developer.twitter.com

twitter_add_domain = {0} added!. You can make offer {1} #domain #website
twitter_update_domain = {0} updated!. You can make offer {1} #domain #website
#default twitter messages.
[facebook]
use = yes
#set yes if you want to use facebook api for getting page infos

access_token = 
appID = 
#app secrets, you will get them from developer.facebook.com
[google]
use = yes
#Just set yes