09 Sep 2010
Support Center
»
Knowledgebase
»
Config.php - new variables
Config.php - new variables
Solution
Please find below the new variables added in the configuration file:
define("_AREAMANAGEMENT","1");
If the variable is set on 1, dropdown lists willbe used in Add / Modify property form for the location fields: country, region, town. The dropdowns will be populated with values defined in the admin area >> Settings >> Area management
$Config["numberofproptocompare"] = 3;
The variable allows you to define the maximum number of properties that can be compared in the frontend
$Config["numberofmonthsincalendar"]=4;
The variable allows you to define the number of months to be displayed for the availability calendar on the property details page.
$Config["compareprop"]=1;
If the variable is set to 1, the frontend "Compare" function will be activated.
$Config["usepma"] = 1;
If the variable is set to 1, on the admin area will be used the new property management are page (v60)
Variables used for the remote / local backup cronjob
-
$Config['remoteftp']='';
- host
-
$Config['remoteuser']='';
- username
-
$Config['remotepass']='';
- parola
-
$Config['remotedir']='';
- the directory where the backup is saved (i.e : /home/user/save/)
-
$Config['localdir']='';
- the local directory where the backup is saved (i.e. : /public_html/online-rent-script/backup/)
IMPORTANT:
The directories must be defined before running the cronjob!!
-
$Config['cronsave']=0;
// 0 - disabled , 1 - local , 2 - remote
The cronjob backup can be:
-
0
- deactivated;
-
1
- the backup is saved on the same server;
-
2
- the backup is saved on another server (remote);
-
$Config['crondays']=3;
// 1 - once a day , 7 - once a week , 31 - once a month
This variable allows you to define the number of days within the backup is done.
The backup saving date is updated when the cronjob file is accessed - i.e: if the backup is done today, then he will be done again after 3 days (if the variable is set to 3) even if the cronjob is daily ran.
IMPORTANT:
Is is mandatory for the cronjob to run daily (cronjob file: cronjob_site.php located in root)
Article Details
Article ID:
119
Created On:
15 Jul 2009 01:53 PM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Fullname:
Email: (Optional)
Comments:
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Troubleshooter
|
News
|
Downloads
Language:
English (U.S.)
Help Desk Software By Kayako SupportSuite v3.10.02