This file contains hidden or 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^$ public/ [L] | |
RewriteRule (.*) public/$1 [L] | |
</IfModule> |
This file contains hidden or 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 | |
use Phalcon\Db\Column; | |
use Phalcon\Db\Index; | |
use Phalcon\Db\Reference; | |
use Phalcon\Mvc\Model\Migration; | |
/** | |
* Class ArticleMigration_100 | |
*/ |
This file contains hidden or 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 | |
$database = "dbname"; | |
$username = "root"; | |
$password = ""; | |
$pdo = new PDO("mysql:dbname=$database;host=127.0.0.1", $username, $password); | |
$query = "SELECT uczen.imie, uczen.nazwisko FROM uczen"; | |
$result = $pdo->query($query); | |
require "view.phtml"; |
This file contains hidden or 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
<?xml version="1.0"?> | |
<ruleset name="IDH"> | |
<description>The coding standard for IDH</description> | |
<arg name="report" value="summary"/> | |
<arg value="s"/> | |
<arg name="extensions" value="php"/> | |
<exclude-pattern>*/config/*</exclude-pattern> | |
<exclude-pattern>tests/cache/*</exclude-pattern> |