This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@8b2855614929:/etc/apache2/sites-available# ls -la | |
total 28 | |
drwxr-xr-x 3 root root 4096 Jul 7 12:55 . | |
drwxr-xr-x 12 root root 4096 Jul 7 12:55 .. | |
drwxr-xr-x 8 root root 4096 Jul 7 12:55 .git | |
-rw-r--r-- 1 root root 21 Jul 7 12:55 .gitignore | |
-rw-r--r-- 1 root root 68 Jul 7 12:55 README.md | |
-rw-r--r-- 1 root root 792 Jul 7 12:55 edocu.service.dev.edocu.local | |
-rw-r--r-- 1 root root 644 Jul 7 12:55 idp.service.dev.edocu.local | |
root@8b2855614929:/etc/apache2/sites-available# a2ensite edocu.service.dev.edocu.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
teo@james:~$ curl http://100nazorov.sk/non-existing-route/ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>100 NÁZOROV</title> | |
<meta name="description" content="Osobnosti sa vyjadrujú k rôznym témam. + Bonusy!"> | |
<meta name="keywords" content="100 názorov, názory, sto názorov, moc, pravda, politika, kultura, peniaze, boh, cirkev, smrť, osobnosť, osobnosti, politika, umenie, televízia, biznis, cirkev, školstvo, žurnalistika"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta property="og:image" content="http://100nazorov.sk/system/images/100-fb.jpg"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Adminer 3.3.4 MySQL dump | |
SET NAMES utf8; | |
SET foreign_key_checks = 0; | |
SET time_zone = 'SYSTEM'; | |
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
DROP TABLE IF EXISTS `craft_list`; | |
CREATE TABLE `craft_list` ( | |
`item_id` int(11) NOT NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
private function getErrorMessages(\Symfony\Component\Form\Form $form) { | |
$errors = array(); | |
foreach ($form->getErrors() as $key => $error) { | |
$errors[] = strtr($error->getMessageTemplate(), $error->getMessageParameters()); | |
} | |
return $errors; | |
} |