mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix some PHP 5.3.0 errors and warnings
This commit is contained in:
parent
9afd794913
commit
22fbe0e6e2
|
|
@ -81,7 +81,7 @@ class FileUtil
|
|||
if( !is_array( $v ) )
|
||||
continue;
|
||||
|
||||
FileUtil::trimFileList( &$list[ $k ] );
|
||||
FileUtil::trimFileList( $list[ $k ] );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ class Project
|
|||
}
|
||||
}
|
||||
|
||||
FileUtil::trimFileList( &$projectFiles );
|
||||
FileUtil::trimFileList( $projectFiles );
|
||||
|
||||
// Uncomment me to see the structure the file lister is returning.
|
||||
//print_r($projectFiles);
|
||||
|
|
@ -316,6 +316,7 @@ class Project
|
|||
// Set the template delimiters
|
||||
$tpl->left_delimiter = $output->ldelim ? $output->ldelim : '{';
|
||||
$tpl->right_delimiter = $output->rdelim ? $output->rdelim : '}';
|
||||
$gameProjectName = getGameProjectName();
|
||||
|
||||
// Evaluate template into a file.
|
||||
$tpl->assign_by_ref( 'projSettings', $this );
|
||||
|
|
@ -331,7 +332,7 @@ class Project
|
|||
$tpl->assign_by_ref( 'projLibs', $this->libs );
|
||||
$tpl->assign_by_ref( 'projLibDirs', $this->lib_dirs );
|
||||
$tpl->assign_by_ref( 'projDepend', $this->dependencies );
|
||||
$tpl->assign_by_ref( 'gameProjectName', getGameProjectName() );
|
||||
$tpl->assign_by_ref( 'gameProjectName', $gameProjectName );
|
||||
$tpl->assign_by_ref( 'projModuleDefinitionFile', $this->moduleDefinitionFile );
|
||||
$tpl->assign_by_ref( 'projSubSystem', $this->projSubSystem );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue