config: trailling "DO NOT USE"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3959 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -162,7 +162,6 @@ class config
|
|||||||
*/
|
*/
|
||||||
public function set ($param, $value)
|
public function set ($param, $value)
|
||||||
{
|
{
|
||||||
die ("Config : set DO NOT USE");
|
|
||||||
$this->selectConfFile ();
|
$this->selectConfFile ();
|
||||||
if (!array_key_exists ($param, $this->default))
|
if (!array_key_exists ($param, $this->default))
|
||||||
throw new Exception ("Unknown parameter '$param'", 500);
|
throw new Exception ("Unknown parameter '$param'", 500);
|
||||||
@@ -209,7 +208,6 @@ die ("Config : set DO NOT USE");
|
|||||||
*/
|
*/
|
||||||
private function writePHP ($values, $phpcode, $indent)
|
private function writePHP ($values, $phpcode, $indent)
|
||||||
{
|
{
|
||||||
die ("Config : writePHP DO NOT USE");
|
|
||||||
foreach ($values as $key=>$val)
|
foreach ($values as $key=>$val)
|
||||||
{
|
{
|
||||||
$phpcode .= str_pad (" ", $indent);
|
$phpcode .= str_pad (" ", $indent);
|
||||||
|
|||||||
Reference in New Issue
Block a user