lib/IniModifier.php
public function save($chmod = null)
    {
        if ($this->modified) {
            if (false === @file_put_contents($this->filename, $this->generateIni())) {
                throw new \Exception('Impossible to write into '.$this->filename);
            } elseif ($chmod) {
                chmod($this->filename, $chmod);
            }
            $this->modified = false;
        }
    }
public function save($chmod = null)
    {
        if ($this->modified) {
            if (false === @file_put_contents($this->filename, $this->generateIni())) {
                throw new \Exception('Impossible to write into '.$this->filename);
            } elseif ($chmod) {
                chmod($this->filename, $chmod);
            }
            $this->modified = false;
        }
    }
public function save ( $ chmod = null ) { if ( $ this -> modified ) { if ( false === @ file_put_contents ( $ this -> filename , $ this -> generateIni ( ) ) ) { throw new \ Exception ( 'Impossible to write into ' . $ this -> filename ) ; } elseif ( $ chmod ) { chmod ( $ this -> filename , $ chmod ) ; } $ this -> modified = false ; } }
save the ini file.
save the ini file .