Development

Changeset 10029

You must first sign up to be able to contribute.

Changeset 10029

Show
Ignore:
Timestamp:
06/30/08 22:56:36 (5 months ago)
Author:
Carl.Vondrick
Message:

1.0: fixed argv may not be registered by PHP (closes #2943)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/data/bin/symfony.php

    r8282 r10029  
    2121// set magic_quotes_runtime to off 
    2222ini_set('magic_quotes_runtime', 'Off'); 
     23 
     24// force populating $argc and $argv in the case PHP does not automatically create them (fixes #2943) 
     25$argv = $_SERVER['argv']; 
     26$argc = $_SERVER['argc']; 
    2327 
    2428// check if we are using an old project