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
make_contrib: | |
projects[$project_name$][subdir] = "$directory$" | |
projects[$project_name$][version] = "$version$" | |
;projects[$project_name$][download][revision] = "$revision$" | |
;projects[$project_name$][download][branch] = "$branch$" | |
;projects[$project_name$][patch][] = "$patch_path$" | |
make_custom: | |
projects[$project_name$][type] = "$type$" |
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
export GIT_PS1_SHOWDIRTYSTATE=true | |
# colored prompt | |
USER=`whoami` | |
if [ $LOGNAME = $USER ] ; then | |
USERCOLOR=32 # green | |
else | |
USERCOLOR=33 # yellow | |
fi | |
if [ $USER = 'root' ] ; then | |
USERCOLOR=31 # red |
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
location /foo/bar { | |
auth_basic "Auth name"; | |
auth_basic_user_file /etc/phpmyadmin/htpasswd; | |
try_files $uri/ $uri/index.php; | |
} | |
location ~ ^/foo/bar(.+\.php)$ { | |
alias /usr/share/phpmyadmin$1; | |
fastcgi_pass unix:/var/run/php5-fpm/www-data.sock; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$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
extension = apc.so | |
apc.shm_segments = 1 | |
apc.shm_size = 256 | |
apc.optimization = 0 | |
apc.num_files_hint = 2048 | |
apc.ttl = 3600 | |
apc.user_ttl = 3600 | |
apc.enable_cli = 1 | |
apc.max_file_size = 1M | |
apc.rfc1867 = 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
(19|20)\d\d([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01]) |
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
/** | |
* Form callback | |
*/ | |
function ajax_disable_test_form($form, &$form_state) { | |
$form['select'] = array( | |
'#type' => 'select', | |
'#required' => FALSE, | |
'#title' => t('Change me!'), | |
'#empty_option' => t('- Select -'), | |
'#options' => drupal_map_assoc(range(1, 3)), |
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
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc | |
index 5b2e5ab..b2e00ab 100644 | |
--- a/includes/bootstrap.inc | |
+++ b/includes/bootstrap.inc | |
@@ -911,6 +911,7 @@ function _drupal_bootstrap($phase) { | |
drupal_unset_globals(); | |
// Initialize the configuration | |
conf_init(); | |
+ _drupal_bootstrap_sanitize_request(); | |
break; |
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
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc | |
index 5b2e5ab..3d93104 100644 | |
--- a/includes/bootstrap.inc | |
+++ b/includes/bootstrap.inc | |
@@ -911,6 +911,7 @@ function _drupal_bootstrap($phase) { | |
drupal_unset_globals(); | |
// Initialize the configuration | |
conf_init(); | |
+ _drupal_bootstrap_sanitize_request(); | |
break; |
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 | |
/** | |
* @file | |
* Functions that need to be loaded on every Drupal request. | |
*/ | |
/** | |
* Indicates that the item should never be removed unless explicitly told to | |
* using cache_clear_all() with a cache ID. |
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
<scheme name="NeverGone-pastell" version="142" parent_scheme="Blackboard"> | |
<metaInfo> | |
<property name="created">2019-11-28T15:03:27</property> | |
<property name="ide">PhpStorm</property> | |
<property name="ideVersion">2019.2.5.0.0</property> | |
<property name="modified">2019-11-28T15:03:42</property> | |
<property name="originalScheme">NeverGone-pastell</property> | |
</metaInfo> | |
<colors> | |
<option name="RIGHT_MARGIN_COLOR" value="e0e0e0" /> |
OlderNewer