|
@@ -57,7 +57,7 @@ class modApi extends DolibarrModules
|
|
|
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
|
|
$this->description = "REST interface";
|
|
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or 'dolibarr_deprecated' or version
|
|
|
- $this->version = 'development';
|
|
|
+ $this->version = 'dolibarr';
|
|
|
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
|
|
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
|
|
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
|
|
@@ -72,7 +72,7 @@ class modApi extends DolibarrModules
|
|
|
|
|
|
// Data directories to create when module is enabled.
|
|
|
// Example: this->dirs = array("/api/temp");
|
|
|
- $this->dirs = array();
|
|
|
+ $this->dirs = array('/api/temp');
|
|
|
|
|
|
// Config pages. Put here list of php page, stored into api/admin directory, to use to setup module.
|
|
|
$this->config_page_url = array("index.php@api");
|