noalyss  Version-9
constant.php
Go to the documentation of this file.
1 <?php
2 /*
3  * This file is part of NOALYSS.
4  *
5  * NOALYSS is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * NOALYSS is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with NOALYSS; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 // Copyright Author Dany De Bontridder danydb@aevalys.eu
20 
21 /*! \file
22  * \brief Contains all the variable + the javascript
23  * and some parameter
24  */
25 
26 // SVNVERSION
28 /*
29  * Include path
30  */
31 $inc_path=get_include_path();
32 $dirname=dirname(__FILE__);
33 
34 /* Global variable of the include dir */
37 $g_ext_dir = $dirname."/ext";
38 $g_template_dir = $dirname."/template";
39 
40 if (file_exists($dirname.'/config.inc.php')) require_once $dirname.'/config.inc.php';
41 
42 if ( !defined("NOALYSS_HOME")) define ("NOALYSS_HOME",dirname($dirname)."/html");
43 if ( !defined("NOALYSS_PLUGIN")) define ("NOALYSS_PLUGIN",$g_ext_dir);
44 if ( !defined("NOALYSS_INCLUDE")) define ("NOALYSS_INCLUDE",$g_include_dir);
45 if ( !defined("NOALYSS_TEMPLATE")) define ("NOALYSS_TEMPLATE",$g_template_dir);
46 // pdftk can deal with all the PDF , for some of them it is preferable to fix it
47 // with convert , see also PDF2PS and PS2PDF if yes
48 if ( !defined("FIX_BROKEN_PDF")) define ("FIX_BROKEN_PDF",'NO');
49 
50 // version < 6.9.1.4 , the default administrator was phpcompta
51 if ( !defined('NOALYSS_ADMINISTRATOR')) {
52  define ('NOALYSS_ADMINISTRATOR','phpcompta');
53 }
54 if (!defined ("SESSION_KEY")) {
55  define ("SESSION_KEY","RtYu0uu");
56 }
57 require_once NOALYSS_INCLUDE.'/constant.security.php';
58 
59 if ( strpos($inc_path,";") != 0 ) {
60  $new_path=$inc_path.';'.$dirname;
61  $os=0; /* $os is 0 for windoz */
62 } else {
63  $new_path=$inc_path.':'.$dirname;
64  $os=1; /* $os is 1 for unix */
65 }
66 set_include_path($new_path);
67 @ini_set ('default_charset',"UTF-8");
68 @ini_set ('session.use_cookies',1);
69 @ini_set ('magic_quotes_gpc','off');
70 
71 if ( ! defined('OVERRIDE_PARAM')) {
72  ini_set ('max_execution_time',240);
73  ini_set ('memory_limit','256M');
74 }
75 @ini_set ('session.use_trans_sid','on');
76 @session_start();
77 
78 /*
79  * Ini session
80  */
81 
82 if (! defined('NOALYSS_CAPTCHA') )
83 {
84  define ("NOALYSS_CAPTCHA",false);
85 }
86 
88 $g_failed="<span style=\"font-size:18px;color:red\">&#x2716;</span>";
89 $g_succeed="<span style=\"font-size:18px;color:green\">&#x2713;</span>";
90 define ('SMALLX','#xe816;');
91 define ('BUTTONADD',"&#10010;");
92 
93 define ('SVNINFO',NOALYSS_VERSION);
94 if ( ! defined ('DEBUGNOALYSS')) {
95  define ("DEBUGNOALYSS",0);
96 }
97 
98 if ( ! defined ('LOGINPUT')) {
99  define ("LOGINPUT",false);
100 }
101 
102 if ( ! defined ('DEBUGNOALYSS') ) {
103  define ('DEBUGNOALYSS',0);
104 }
106 
107 // If you don't want to be notified of the update
108 if ( !defined("SITE_UPDATE"))
109  define ("SITE_UPDATE",'http://www.noalyss.eu/last_version.txt');
110 if ( !defined("SITE_UPDATE_PLUGIN"))
111  define ("SITE_UPDATE_PLUGIN",'http://www.noalyss.eu/plugin_last_version.txt');
112 if ( !defined ("NOALYSS_PACKAGE_REPOSITORY")) {
113  define ("NOALYSS_PACKAGE_REPOSITORY","https://package.noalyss.eu/");
114 }
115 // If you don't want that the system information is accessible
116 if ( ! defined ("SYSINFO_DISPLAY")) {
117  define ("SYSINFO_DISPLAY",TRUE);
118 }
119 define ("DBVERSION",168);
120 define ("MONO_DATABASE",25);
121 define ("DBVERSIONREPO",20);
122 define ('NOTFOUND','--not found--');
123 define ("MAX_COMPTE",4);
124 define ('MAX_ARTICLE',5);
125 define ('MAX_ARTICLE_STOCK',10);
126 define ('MAX_CAT',15);
127 define ('MAX_CARD_SEARCH',550);
128 define ('MAX_FORECAST_ITEM',10);
129 define ('MAX_PREDEFINED_OPERATION',50);
130 define ('MAX_COMPTE_CARD',4);
131 define ('COMPTA_MAX_YEAR',2100);
132 define ('COMPTA_MIN_YEAR',1900);
133 define ('MAX_RECONCILE',25);
134 define ('MAX_QCODE',4);
135 if ( ! defined ('MAX_SEARCH_CARD') ) {
136  define ('MAX_SEARCH_CARD',20);
137 }
138 
139 define ('MAX_FOLDER_TO_SHOW',80);
140 define ('MAX_ACTION_SHOW',20);
141 
142 if ( DEBUGNOALYSS == 0 ) {
143  // PRODUCTION : nothing is displaid , report only errors and warning
144  // Rapporte les erreurs d'exĂ©cution de script
145  error_reporting(E_ERROR | E_WARNING );
146  ini_set("display_errors",0);
147  ini_set("html_errors",0);
148  ini_set('log_errors',1);
149  ini_set('log_errors_max_len',0);
150 }elseif (DEBUGNOALYSS==1) {
151  /* DEVELOPPEMENT : display all errors warning notice deprecated ...*/
152  error_reporting(2147483647);
153  ini_set("display_errors",1);
154  ini_set("display_startup_errors",1);
155  ini_set("html_errors",1);
156  ini_set('log_errors',1);
157  ini_set('log_errors_max_len',0);
158 } elseif (DEBUGNOALYSS == 2 ) {
159  // like level 1 plus extra info (filename, ...)
160  error_reporting(2147483647);
161  ini_set("display_errors",1);
162  ini_set("display_startup_errors",1);
163  ini_set("html_errors",1);
164  ini_set('log_errors',1);
165  ini_set('log_errors_max_len',0);
166 
167 }
168 // Erreur
169 define ("NOERROR",0);
170 define ("BADPARM",1);
171 define ("BADDATE",2);
172 define ("NOTPERIODE",3);
173 define ("PERIODCLOSED",4);
174 define ("INVALID_ECH",5);
175 define ("RAPPT_ALREADY_USED",6);
176 define ("RAPPT_NOT_EXIST",7);
177 define ("DIFF_AMOUNT",8);
178 define ("RAPPT_NOMATCH_AMOUNT",9);
179 define ("NO_PERIOD_SELECTED",10);
180 define ("NO_POST_SELECTED",11);
181 define ("LAST",1);
182 define ("FIRST",0);
183 define ("ERROR",12);
184 
185 //!<ACTION defines document_type for action
186 define('ACTION','1,5,6,7,8');
187 
188 //valeurs standardd
189 define ("YES",1);
190 define ("NO",0);
191 define ("OPEN",1);
192 define ("CLOSED",0);
193 define ("NOTCENTRALIZED",3);
194 define ("ALL",4);
195 
196 // Pour les ShowMenuComptaLeft
197 define ("MENU_FACT",1);
198 define ("MENU_FICHE",2);
199 define ("MENU_PARAM",3);
200 
201 // for the fiche_inc.GetSqlFiche function
202 define ("ALL_FICHE_DEF_REF", 1000);
203 
204 // fixed value for attr_def data
205 define ("ATTR_DEF_ACCOUNT",5);
206 define ("ATTR_DEF_NAME",1);
207 define ("ATTR_DEF_BQ_NO",3);
208 define ("ATTR_DEF_BQ_NAME",4);
209 define ("ATTR_DEF_PRIX_ACHAT",7);
210 define ("ATTR_DEF_PRIX_VENTE",6);
211 define ("ATTR_DEF_TVA",2);
212 define ("ATTR_DEF_NUMTVA",13);
213 define ("ATTR_DEF_ADRESS",14);
214 define ("ATTR_DEF_CP",15);
215 define ("ATTR_DEF_PAYS",16);
216 define ("ATTR_DEF_STOCK",19);
217 define ("ATTR_DEF_TEL",17);
218 define ("ATTR_DEF_EMAIL",18);
219 define ("ATTR_DEF_CITY",24);
220 define ("ATTR_DEF_COMPANY",25);
221 define ("ATTR_DEF_FAX",26);
222 define ("ATTR_DEF_NUMBER_CUSTOMER",30);
223 define ("ATTR_DEF_DEP_PRIV",31);
224 define ("ATTR_DEF_DEPENSE_NON_DEDUCTIBLE",20);
225 define ("ATTR_DEF_TVA_NON_DEDUCTIBLE",21);
226 define ("ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP",22);
227 define ("ATTR_DEF_QUICKCODE",23);
228 define ("ATTR_DEF_FIRST_NAME",32);
229 
230 define( 'ATTR_DEF_ACCOUNT_ND_TVA',50);
231 define('ATTR_DEF_ACCOUNT_ND_TVA_ND',51);
232 define ('ATTR_DEF_ACCOUNT_ND_PERSO',52);
233 define ('ATTR_DEF_ACCOUNT_ND',53);
234 define ('ATTR_DEF_ACTIF',54);
235 
236 define ("FICHE_TYPE_CLIENT",9);
237 define ("FICHE_TYPE_VENTE",1);
238 define ("FICHE_TYPE_FOURNISSEUR",8);
239 define ("FICHE_TYPE_FIN",4);
240 define ("FICHE_TYPE_CONTACT",16);
241 define ("FICHE_TYPE_EMPL",25);
242 define ("FICHE_TYPE_ADM_TAX",14);
243 define ("FICHE_TYPE_ACH_MAR",2);
244 define ("FICHE_TYPE_ACH_SER",3);
245 define ("FICHE_TYPE_ACH_MAT",7);
246 define ("FICHE_TYPE_PROJET",26);
247 define ("FICHE_TYPE_MATERIAL",7);
248 // Max size is defined by default to 2MB,
249 if ( ! defined("MAX_FILE_SIZE")) {
250  define ("MAX_FILE_SIZE",2097152);
251 }
252 /**
253  * -- pour utiliser unoconv dĂ©marrer un server libreoffice
254  * commande
255  * libreoffice --headless --accept="socket,host=127.0.0.1,port=2002;urp;" --nofirststartwizard
256  * ou
257  * unoconv -l -v -s localhost
258  */
259 if ( ! defined ('OFFICE')) define ('OFFICE','');
260 if ( ! defined ('GENERATE_PDF') ) define ('GENERATE_PDF','NO');
261 
262 /**
263  * Pour conversion GIF en PDF
264  */
265 $convert_gif_pdf='/usr/bin/convert';
266 if (file_exists($convert_gif_pdf))
267 {
268  define ('CONVERT_GIF_PDF',$convert_gif_pdf);
269 } else {
270  define ('CONVERT_GIF_PDF','NOT');
271 
272 }
273 /**
274  * PDF2PS is used when the PDF is broken , used with FIX_BROKEN_PDF
275  */
276 $pdf2ps='/usr/bin/pdf2ps';
277 
278 if ( ! file_exists($pdf2ps) )
279  define ('PDF2PS','NOT');
280  else
281  define ('PDF2PS',$pdf2ps);
282 /**
283  * PS2PDF is used when the PDF is broken , used with FIX_BROKEN_PDF
284  */
285 $ps2pdf='/usr/bin/ps2pdf';
286 
287 if ( ! file_exists($ps2pdf) )
288  define ('PS2PDF','NOT');
289  else
290  define ('PS2PDF',$ps2pdf);
291 
292 
293 /**
294  * Outil pour manipuler les PDF
295  */
296 if ( ! isset ($pdftk))
297 {
298  $pdftk='/usr/bin/pdftk';
299 }
300 if (file_exists($pdftk))
301 {
302  define ('PDFTK',$pdftk);
303 }
304 else
305 {
306  define ('PDFTK','NOT');
307 }
308 
309 // If it is not a mono folder it is a multi one
310 if ( !defined('MULTI')) {
311  define('MULTI',1);
312 }
313 
314 define ('JS_INFOBULLE','
315  <DIV id="bulle" class="infobulle"></DIV>
316  <script type="text/javascript" language="javascript" src="js/infobulle.js">
317  </script>');
318 
319 
320 // Sql string
321 define ("SQL_LIST_ALL_INVOICE","");
322 
323 define ("SQL_LIST_UNPAID_INVOICE"," (jr_rapt is null or jr_rapt = '') and jr_valid = true "
324  );
325 
326 
327 define ("SQL_LIST_UNPAID_INVOICE_DATE_LIMIT" ,"
328  where (jr_rapt is null or jr_rapt = '')
329  and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') < to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY')
330  and jr_valid = true" );
331 
332 /**
333  * Exception
334  */
335 // Limit email exceeds parameter
336 define ('EMAIL_LIMIT',1002);
337 define ('EXC_PARAM_VALUE',1005);
338 define ('EXC_PARAM_TYPE',1006);
339 define ('EXC_DUPLICATE',1200);
340 define ('EXC_INVALID',1400);
341 define ("UNPINDG","&#xf047;");
342 define ("PINDG","&#xe809;");
343 
344 // Url of NOALYSS (http://...)
345 //
346 if ( ! defined ("NOALYSS_URL")) {
347  $protocol="http";
348  if ( isset ($_SERVER['REQUEST_SCHEME'] )) {
349  $protocol=$_SERVER['REQUEST_SCHEME'];
350  }
351  $base=$protocol.'://'.
352  $_SERVER['SERVER_NAME'].
353  ":".$_SERVER['SERVER_PORT'].
354  dirname($_SERVER['PHP_SELF']);
355  define ("NOALYSS_URL",$base);
356 }
357 if (!defined ("DEFAULT_SERVER_VIDEO_CONF")) {
358  define ("DEFAULT_SERVER_VIDEO_CONF","https://www.free-solutions.org/");
359 }
360 /**
361  * @brief load automatically class
362  *
363  * @param string $class classname to load
364  */
366  $class=strtolower($class);
367  $aClass = array(
368  "database"=>"class/database.class.php",
369  "user"=>"class/user.class.php",
370  "acc_account" => "class/acc_account.class.php",
371  "acc_account_ledger" => "class/acc_account_ledger.class.php",
372  "acc_balance" => "class/acc_balance.class.php",
373  "acc_bilan" => "class/acc_bilan.class.php",
374  "acc_compute" => "class/acc_compute.class.php",
375  "acc_currency" => "class/acc_currency.class.php",
376  "acc_ledger" => "class/acc_ledger.class.php",
377  "acc_ledger_fin" => "class/acc_ledger_fin.class.php",
378  "acc_ledger_history" => "class/acc_ledger_history.class.php",
379  "acc_ledger_history_financial" => "class/acc_ledger_history_financial.class.php",
380  "acc_ledger_history_generic" => "class/acc_ledger_history_generic.class.php",
381  "acc_ledger_history_purchase" => "class/acc_ledger_history_purchase.class.php",
382  "acc_ledger_history_sale" => "class/acc_ledger_history_sale.class.php",
383  "acc_ledger_info" => "class/acc_ledger_info.class.php",
384  "acc_ledger_purchase" => "class/acc_ledger_purchase.class.php",
385  "acc_ledger_search" => "class/acc_ledger_search.class.php",
386  "acc_ledger_sale" => "class/acc_ledger_sale.class.php",
387  "acc_operation" => "class/acc_operation.class.php",
388  "acc_detail" => "class/acc_operation.class.php",
389  "acc_sold" => "class/acc_operation.class.php",
390  "acc_misc" => "class/acc_operation.class.php",
391  "acc_purchase" => "class/acc_operation.class.php",
392  "acc_fin" => "class/acc_operation.class.php",
393  "acc_parm_code" => "class/acc_parm_code.class.php",
394  "acc_payment" => "class/acc_payment.class.php",
395  "acc_plan_mtable" => "class/acc_plan_mtable.class.php",
396  "acc_reconciliation" => "class/acc_reconciliation.class.php",
397  "acc_report" => "class/acc_report.class.php",
398  "acc_report_mtable" => "class/acc_report_mtable.class.php",
399  "acc_tva" => "class/acc_tva.class.php",
400  "action_document_type_mtable" => "class/action_document_type_mtable.class.php",
401  "admin" => "class/admin.class.php",
402  "anc_acc_link" => "class/anc_acc_link.class.php",
403  "anc_acc_list" => "class/anc_acc_list.class.php",
404  "anc_account" => "class/anc_account.class.php",
405  "anc_account_table" => "class/anc_account_table.class.php",
406  "anc_balance_double" => "class/anc_balance_double.class.php",
407  "anc_balance_simple" => "class/anc_balance_simple.class.php",
408  "anc_grandlivre" => "class/anc_grandlivre.class.php",
409  "anc_group" => "class/anc_group.class.php",
410  "anc_group_operation" => "class/anc_group_operation.class.php",
411  "anc_key" => "class/anc_key.class.php",
412  "anc_listing" => "class/anc_listing.class.php",
413  "anc_operation" => "class/anc_operation.class.php",
414  "anc_plan" => "class/anc_plan.class.php",
415  "anc_print" => "class/anc_print.class.php",
416  "anc_table" => "class/anc_table.class.php",
417  "anticipation" => "class/anticipation.class.php",
418  "balance_age" => "class/balance_age.class.php",
419  "bank" => "class/bank.class.php",
420  "calendar" => "class/calendar.class.php",
421  "card_attribut_mtable" => "class/card_attribut_mtable.class.php",
422  "card_multiple" => "class/card_multiple.class.php",
423  "class_acc_account_ledger.php~" => "class/class_acc_account_ledger.php~",
424  "contact" => "class/contact.class.php",
425  "contact_option_ref_mtable" => "class/contact_option_ref_mtable.class.php",
426  "currency_mtable" => "class/currency_mtable.class.php",
427  "customer" => "class/customer.class.php",
428  "database" => "class/database.class.php",
429  "data_currency_operation" => "class/data_currency_operation.class.php",
430  "default_menu" => "class/default_menu.class.php",
431  "document" => "class/document.class.php",
432  "document_export" => "class/document_export.class.php",
433  "document_modele" => "class/document_modele.class.php",
434  "document_option" => "class/document_option.class.php",
435  "document_state_mtable.php" => "class/document_state_mtable.php",
436  "document_type" => "class/document_type.class.php",
437  "dossier" => "class/dossier.class.php",
438  "exercice" => "class/exercice.class.php",
439  "extension" => "class/extension.class.php",
440  "fiche" => "class/fiche.class.php",
441  "fiche_def" => "class/fiche_def.class.php",
442  "fiche_def_ref" => "class/fiche_def_ref.class.php",
443  "filter_data_currency_accounting" => "class/filter_data_currency_accounting.class.php",
444  "filter_data_currency_card_category" => "class/filter_data_currency_card_category.class.php",
445  "filter_data_currency_card" => "class/filter_data_currency_card.class.php",
446  "follow_up" => "class/follow_up.class.php",
447  "follow_up_detail" => "class/follow_up_detail.class.php",
448  "follow_up_other_concerned" => "class/follow_up_other_concerned.class.php",
449  "forecast_category_mtable" => "class/forecast_category_mtable.class.php",
450  "forecast" => "class/forecast.class.php",
451  "forecast_item_mtable" => "class/forecast_item_mtable.class.php",
452  "lettering" => "class/lettering.class.php",
453  "lettering_card" => "class/lettering.class.php",
454  "lettering_account" => "class/lettering.class.php",
455  "manager" => "class/manager.class.php",
456  "menu_ref" => "class/menu_ref.class.php",
457  "noalyss_parameter_folder" => "class/noalyss_parameter_folder.class.php",
458  "operation_category_card" => "class/operation_category_card.class.php",
459  "operation_category_currency_account" => "class/operation_category_currency_account.class.php",
460  "operation_predef_mtable" => "class/operation_predef_mtable.class.php",
461  "package_contrib" => "class/package_contrib.class.php",
462  "package_core" => "class/package_core.class.php",
463  "package_noalyss" => "class/package_noalyss.class.php",
464  "package_plugin" => "class/package_plugin.class.php",
465  "package_repository" => "class/package_repository.class.php",
466  "package_template" => "class/package_template.class.php",
467  "parameter_extra_mtable" => "class/parameter_extra_mtable.class.php",
468  "payment_method_mtable" => "class/payment_method_mtable.class.php",
469  "pdfbalance_simple" => "class/pdfbalance_simple.class.php",
470  "pdf" => "class/pdf.class.php",
471  "pdf_land" => "class/pdf_land.class.php",
472  "pdf_operation" => "class/pdf_operation.class.php",
473  "periode" => "class/periode.class.php",
474  "periode_ledger" => "class/periode_ledger.class.php",
475  "periode_ledger_table" => "class/periode_ledger_table.class.php",
476  "periode_mtable.notused" => "class/periode_mtable.class.php.notused",
477  "pre_op_ach" => "class/pre_op_ach.class.php",
478  "pre_op_advanced" => "class/pre_op_advanced.class.php",
479  "pre_operation" => "class/pre_operation.class.php",
480  "pre_op_fin" => "class/pre_op_fin.class.php",
481  "pre_op_ods" => "class/pre_op_ods.class.php",
482  "pre_op_ven" => "class/pre_op_ven.class.php",
483  "prepared_query" => "class/prepared_query.class.php",
484  "print_ledger" => "class/print_ledger.class.php",
485  "print_ledger_detail" => "class/print_ledger_detail.class.php",
486  "print_ledger_detail_item" => "class/print_ledger_detail_item.class.php",
487  "print_ledger_financial" => "class/print_ledger_fin.class.php",
488  "print_ledger_misc" => "class/print_ledger_misc.class.php",
489  "print_ledger_simple" => "class/print_ledger_simple.class.php",
490  "print_ledger_simple_without_vat" => "class/print_ledger_simple_without_vat.class.php",
491  "print_operation_currency" => "class/print_operation_currency.class.php",
492  "profile_menu" => "class/profile_menu.class.php",
493  "sendmail" => "class/sendmail.class.php",
494  "stock" => "class/stock.class.php",
495  "stock_goods" => "class/stock_goods.class.php",
496  "supplier" => "class/supplier.class.php",
497  "tag_action" => "class/tag_action.class.php",
498  "tag" => "class/tag.class.php",
499  "tag_group_mtable" => "class/tag_group_mtable.class.php",
500  "tag_operation" => "class/tag_operation.class.php",
501  "tax_summary" => "class/tax_summary.class.php",
502  "template_card_category" => "class/template_card_category.class.php",
503  "todo_list" => "class/todo_list.class.php",
504  "tva_rate_mtable" => "class/tva_rate_mtable.class.php",
505  "acc_plan_sql" => "database/acc_plan_sql.class.php",
506  "action_gestion_comment_sql" => "database/action_gestion_comment_sql.class.php",
507  "action_gestion_sql" => "database/action_gestion_sql.class.php",
508  "anc_key_sql" => "database/anc_key_sql.class.php",
509  "anc_key_ledger_sql" => "database/anc_key_sql.class.php",
510  "anc_key_detail_sql" => "database/anc_key_sql.class.php",
511  "anc_key_activity_sql" => "database/anc_key_sql.class.php",
512  "attr_def_sql" => "database/attr_def_sql.class.php",
513  "contact_option_ref_sql" => "database/contact_option_ref_sql.class.php",
514  "currency_history_sql" => "database/currency_history_sql.class.php",
515  "currency_sql" => "database/currency_sql.class.php",
516  "default_menu_sql" => "database/default_menu_sql.class.php",
517  "document_state_sql" => "database/document_state_sql.class.php",
518  "document_type_sql" => "database/document_type_sql.class.php",
519  "fiche_def_ref_sql" => "database/fiche_def_ref_sql.class.php",
520  "forecast_category_sql" => "database/forecast_category_sql.class.php",
521  "forecast_item_sql" => "database/forecast_item_sql.class.php",
522  "forecast_sql" => "database/forecast_sql.class.php",
523  "form_definition_sql" => "database/form_definition_sql.class.php",
524  "form_detail_sql" => "database/form_detail_sql.class.php",
525  "jrn_def_sql" => "database/jrn_def_sql.class.php",
526  "jrn_periode_sql" => "database/jrn_periode_sql.class.php",
527  "menu_ref_sql" => "database/menu_ref_sql.class.php",
528  "operation_currency_sql" => "database/operation_currency_sql.class.php",
529  "op_predef_sql" => "database/op_predef_sql.class.php",
530  "parameter_extra_sql" => "database/parameter_extra_sql.class.php",
531  "parm_periode_sql" => "database/parm_periode_sql.class.php",
532  "payment_method_sql" => "database/payment_method_sql.class.php",
533  "poste_analytique_sql" => "database/poste_analytique_sql.class.php",
534  "profile_menu_sql" => "database/profile_menu_sql.class.php",
535  "profile_sql" => "database/profile_sql.class.php",
536  "stock_goods_sql" => "database/stock_goods_sql.class.php",
537  "stock_sql" => "database/stock_sql.class.php",
538  "tag_group_sql" => "database/tag_group_sql.class.php",
539  "tag_sql" => "database/tag_sql.class.php",
540  "tmp_pcmn_sql" => "database/tmp_pcmn_sql.class.php",
541  "tva_rate_sql" => "database/tva_rate_sql.class.php",
542  "user_filter_sql" => "database/user_filter_sql.class.php",
543  "v_currency_last_value_sql" => "database/v_currency_last_value_sql.class.php",
544  "v_tva_rate_sql" => "database/v_tva_rate_sql.class.php",
545  "databasecore" => "lib/database_core.class.php",
546  "data_sql" => "lib/data_sql.class.php",
547  "export_data" => "lib/export_data.class.php",
548  "export_data_pdf" => "lib/export_data_pdf.class.php",
549  "filetosend" => "lib/filetosend.class.php",
550  "htmlinput" => "lib/html_input.class.php",
551  "html_tab" => "lib/html_tab.class.php",
552  "html_table" => "lib/html_table.class.php",
553  "httpinput" => "lib/http_input.class.php",
554  "iaction" => "lib/iaction.class.php",
555  "ianccard" => "lib/ianccard.class.php",
556  "ibutton" => "lib/ibutton.class.php",
557  "ismallbutton" => "lib/ibutton.class.php",
558  "icard" => "lib/icard.class.php",
559  "icheckbox" => "lib/icheckbox.class.php",
560  "icon_action" => "lib/icon_action.class.php",
561  "iconcerned" => "lib/iconcerned.class.php",
562  "idate" => "lib/idate.class.php",
563  "ifile" => "lib/ifile.class.php",
564  "ihidden" => "lib/ihidden.class.php",
565  "impress" => "lib/impress.class.php",
566  "inplace_edit" => "lib/inplace_edit.class.php",
567  "inplace_switch" => "lib/inplace_switch.class.php",
568  "input_checkbox" => "lib/input_checkbox.class.php",
569  "inputswitch" => "lib/input_switch.class.php",
570  "inum" => "lib/inum.class.php",
571  "iperiod" => "lib/iperiod.class.php",
572  "ipopup" => "lib/ipopup.class.php",
573  "iposte" => "lib/iposte.class.php",
574  "iradio" => "lib/iradio.class.php",
575  "irelated_action" => "lib/irelated_action.class.php",
576  "iselect" => "lib/iselect.class.php",
577  "ispan" => "lib/ispan.class.php",
578  "itextarea" => "lib/itextarea.class.php",
579  "itext" => "lib/itext.class.php",
580  "itva_popup" => "lib/itva_popup.class.php",
581  "manage_table_sql" => "lib/manage_table_sql.class.php",
582  "noalyss_csv" => "lib/noalyss_csv.class.php",
583  "noalyss_sql" => "lib/noalyss_sql.class.php",
584  "output_html_tab" => "lib/output_html_tab.class.php",
585  "pdf_core" => "lib/pdf_core.class.php",
586  "progress_bar" => "lib/progress_bar.class.php",
587  "select_box" => "lib/select_box.class.php",
588  "select_dialog" => "lib/select_dialog.class.php",
589  "sendmail_core" => "lib/sendmail_core.class.php",
590  "single_record" => "lib/single_record.class.php",
591  "sort_table" => "lib/sort_table.class.php",
592  "table_data_sql" => "lib/table_data_sql.class.php",
593  "zip_extended" => "lib/zip_extended.class.php",
594  "document_state_mtable"=>"class/document_state_mtable.class.php",
595  "noalyss\mobile"=>"class/mobile.class.php",
596  "profile_mobile_sql"=>"database/profile_mobile_sql.class.php",
597  "mobile_device_mtable"=>"class/mobile_device_mtable.class.php",
598  "html_input_noalyss"=>"class/html_input_noalyss.class.php",
599  "card_property"=>"class/card_property.class.php",
600  "pdfland"=>"class/pdf_land.class.php"
601  );
602  if ( isset ($aClass[$class]) ) {
603  require_once NOALYSS_INCLUDE."/".$aClass[$class];
604  }
605 
606 }
607 
608 spl_autoload_register('\noalyss_class_autoloader',true);
$class
$class
Definition: cfgplugin.inc.php:128
$g_ext_dir
global $g_ext_dir
Definition: constant.php:35
$pdf2ps
$pdf2ps
PDF2PS is used when the PDF is broken , used with FIX_BROKEN_PDF.
Definition: constant.php:276
$g_include_dir
global $g_include_dir
Definition: constant.php:35
SVNINFO
const SVNINFO
Definition: constant.php:93
$inc_path
$inc_path
Definition: constant.php:31
$ps2pdf
$ps2pdf
PS2PDF is used when the PDF is broken , used with FIX_BROKEN_PDF.
Definition: constant.php:285
$convert_gif_pdf
$convert_gif_pdf
Pour conversion GIF en PDF.
Definition: constant.php:265
$g_failed
if(! defined('NOALYSS_CAPTCHA')) global $g_failed
Definition: constant.php:82
$os
$os
Definition: constant.php:64
$version_noalyss
global $version_noalyss
Definition: constant.php:27
$g_succeed
if(! defined('NOALYSS_CAPTCHA')) global $g_succeed
Definition: constant.php:87
noalyss_class_autoloader
if(! defined("NOALYSS_URL")) if(!defined("DEFAULT_SERVER_VIDEO_CONF")) noalyss_class_autoloader($class)
load automatically class
Definition: constant.php:365
$dirname
$dirname
Definition: constant.php:32
$g_template_dir
global $g_template_dir
Definition: constant.php:35
$base
$base
Definition: action.inc.php:56