Prepare 2.6 version
This commit is contained in:
parent
5a029a28d8
commit
6bcaee2a44
@ -37,6 +37,7 @@ Copyright
|
|||||||
|
|
||||||
Copyright (C) 2009
|
Copyright (C) 2009
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
- Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
- Regis Houssin <regis@dolibarr.fr>
|
||||||
- simnandez
|
- simnandez
|
||||||
|
|
||||||
Copyright (C) 2008
|
Copyright (C) 2008
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -17,15 +17,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file dev/skeletons/build_class_from_table.php
|
* \file dev/skeletons/build_class_from_table.php
|
||||||
* \ingroup core
|
* \ingroup core
|
||||||
* \brief Create a complete class file from a table in database
|
* \brief Create a complete class file from a table in database
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Test if batch mode
|
// Test if batch mode
|
||||||
$sapi_type = php_sapi_name();
|
$sapi_type = php_sapi_name();
|
||||||
$script_file=__FILE__;
|
$script_file=__FILE__;
|
||||||
if (eregi('([^\\\/]+)$',$script_file,$reg)) $script_file=$reg[1];
|
if (eregi('([^\\\/]+)$',$script_file,$reg)) $script_file=$reg[1];
|
||||||
$path=eregi_replace($script_file,'',$_SERVER["PHP_SELF"]);
|
$path=eregi_replace($script_file,'',$_SERVER["PHP_SELF"]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user