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_value open_basedir "/path:/tmp" | |
php_value mail.add_x_header 1 | |
php_value mail.log /path/mail.log | |
php_value auto_prepend_file /path/postlogger.php |
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
:: This script must be run from a Windows machine with | |
:: Visual Studio 2015, Python 2.7 and SCons installed at their | |
:: default locations. 7-Zip also needs to be installed (to compress editor binaries). | |
:: NOTE: You need Pywin32 to be installed to use multi-threaded compilation. | |
:: You may need to set "threads" to 1 for the first build, even if you have it installed. | |
:: Place this script at the root of your Godot Git clone. | |
:: CC0 1.0 Universal |
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 | |
/** | |
* Onetable Route | |
* | |
* Плагин для кастомной маршрутизации | |
* | |
* @license GNU General Public License (GPL), http://www.gnu.org/copyleft/gpl.html | |
* @author Agel_Nash <Agel_Nash@xaker.ru> | |
* @version 0.1 | |
* |
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 | |
/** | |
* On-the-fly CSS Compression | |
* Copyright (c) 2009 and onwards, Manas Tungare. | |
* Creative Commons Attribution, Share-Alike. | |
* | |
* In order to minimize the number and size of HTTP requests for CSS content, | |
* this script combines multiple CSS files into a single file and compresses | |
* it on-the-fly. | |
* |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// Auth Library | |
class Auth { | |
public function login($login, $password){ | |
// Login user | |
$login_user = Doctrine::getTable('users')->findOneBy('login', $login); | |
if($login_user != NULL and $login_user->password == md5($password) ){ | |
$this->session->set_userdata('isAuthorized', TRUE); | |
$this->session->set_userdata($login_user); |