]> granicus.if.org Git - php/commitdiff
rename --ri core to --ri main
authorHannes Magnusson <bjori@php.net>
Wed, 25 Apr 2007 09:53:20 +0000 (09:53 +0000)
committerHannes Magnusson <bjori@php.net>
Wed, 25 Apr 2007 09:53:20 +0000 (09:53 +0000)
# "the man has spoken"

sapi/cli/php_cli.c

index 13b515fb8dc564f9f6ecc57eb9ed5266f672be83..a6d5a56069b6acb52cb88a9ee240651d6c5f9b43 100644 (file)
@@ -1306,7 +1306,7 @@ int main(int argc, char *argv[])
                                        zend_module_entry *module;
 
                                        if (zend_hash_find(&module_registry, lcname, len+1, (void**)&module) == FAILURE) {
-                                               if(!strcmp(reflection_what, "core")) {
+                                               if(!strcmp(reflection_what, "main")) {
                                                        display_ini_entries(NULL);
                                                } else {
                                                        zend_printf("Extension '%s' not present.\n", reflection_what);