Skip to content

Commit 0ba9fd7

Browse files
Remove copyright notices and license information from multiple PHP files
1 parent 8990ffa commit 0ba9fd7

File tree

5 files changed

+1
-86
lines changed

5 files changed

+1
-86
lines changed

php/example1/wp-config.php

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
<?php
2-
// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
162
/**
173
* * The base configuration for WordPress
184
* *
@@ -79,18 +65,7 @@
7965
*/
8066
$table_prefix = 'wp_';
8167

82-
/**
83-
* For developers: WordPress debugging mode.
84-
*
85-
* Change this to true to enable the display of notices during development.
86-
* It is strongly recommended that plugin and theme developers use WP_DEBUG
87-
* in their development environments.
88-
*
89-
* For information on other constants that can be used for debugging,
90-
* visit the documentation.
91-
*
92-
* @link https://wordpress.org/support/article/debugging-in-wordpress/
93-
*/
68+
9469
define( 'WP_DEBUG', false );
9570

9671
/* That's all, stop editing! Happy publishing. */

php/example2/basic-collection.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
<?php
2-
// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
172
// Cross-Site Scripting (XSS)
183
$name = $_GET['name'];
194
echo('Hello ' . $name);

php/example2/cross-site-scripting-xss.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
<?php
2-
// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
172
if (PHP_SAPI === 'cli') {
183
parse_str(implode('&', array_slice($argv, 1)), $_GET);
194
}

php/example2/sql-injection.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
<?php
2-
// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
172
if (PHP_SAPI === 'cli') {
183
parse_str(implode('&', array_slice($argv, 1)), $_GET);
194
}

php/example2/sql-injection_2.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
<?php
2-
// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
16-
172
if (PHP_SAPI === 'cli') {
183
parse_str(implode('&', array_slice($argv, 1)), $_GET);
194
}

0 commit comments

Comments
 (0)