Skip to content

Commit

Permalink
Merge pull request phalcon#25 from mobli/master
Browse files Browse the repository at this point in the history
Fix PHP fatal error
  • Loading branch information
Phalcon committed Nov 7, 2013
2 parents ac9b7aa + f5a857b commit a21a417
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Library/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,8 @@ public function compile(CommandInterface $command)
/**
* Round 4. Create config.m4 and config.w32 files / Create project.c and project.h files
*/
$this->createConfigFiles($namespace, $config, $logger);
$this->createProjectFiles($namespace, $config, $logger);
$needConfigure = $this->createConfigFiles($namespace);
$this->createProjectFiles($namespace);

/**
* Round 5.
Expand Down Expand Up @@ -658,7 +657,7 @@ public function createConfigFiles($project)
*
* @param string $project
*/
public function createProjectFiles($project, $config, $logger)
public function createProjectFiles($project)
{

$this->checkKernelFiles();
Expand Down Expand Up @@ -812,7 +811,7 @@ public function createProjectFiles($project, $config, $logger)
/**
* Generate the globals declaration
*/
$globals = $config->get('globals');
$globals = $this->_config->get('globals');
if (is_array($globals)) {

$structures = array();
Expand Down

0 comments on commit a21a417

Please sign in to comment.