-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME~
executable file
·15 lines (9 loc) · 955 Bytes
/
README~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This old bundles are for Symfony2.
The only thing you need to do if want to try it is make it run as a bundle in your symfony project.
The SshBundle was made for execute a command in the server (linux) were you are opening the proyect or other you want. The idea is basically, take the command, execute it through ssh in the desired server, and received back a text file with the result. Result that will be show on the web for you.
The LoginBundle was create as an alternative ldap autentication method for a symfony2 proyect. For secure a page you must to secure the controller with the acceso or the admacceso function, the first for normal access and the secund for administrative access.
Example:
if ($this->acceso()) { //OR// if ($this->admacceso()) {
my code...........
}else return $this->render('AcmeLoginBundle:Autentication:error.html.twig', $data);
DefaultMainController have the security configuration and encripted key.