38 lines
667 B
Plaintext
38 lines
667 B
Plaintext
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
CakePHP
|
|
|
|
----
|
|
use Cake\Routing\Router;
|
|
|
|
Router::scope('/', function ($routes) { // Sensitive
|
|
// ...
|
|
});
|
|
|
|
Router::connect('/', ['controller' => 'MyController', 'action' => 'index']); // Sensitive
|
|
|
|
Router::plugin('MyPlugin', function ($routes) { // Sensitive
|
|
// ...
|
|
});
|
|
|
|
Router::prefix('admin', function ($routes) { // Sensitive
|
|
// ...
|
|
});
|
|
----
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|