Remove trailing whitespace

This commit is contained in:
Ahmed Alaa
2025-05-01 11:34:28 +03:00
parent 4b7289618f
commit ec467a6f33
22 changed files with 61 additions and 66 deletions

View File

@@ -1,10 +1,10 @@
Alias /adminer "C:/laragon/etc/apps/adminer/"
# to give access from outside
# to give access from outside
# replace the lines
#
# Require local
#
#
# by
#
# Require all granted
@@ -12,8 +12,8 @@ Alias /adminer "C:/laragon/etc/apps/adminer/"
<Directory "C:/laragon/etc/apps/adminer/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
AllowOverride all
Require local
</Directory>

View File

@@ -1,10 +1,10 @@
Alias /laragon "C:/laragon/etc/apps/laragon/"
# to give access from outside
# to give access from outside
# replace the lines
#
# Require local
#
#
# by
#
# Require all granted
@@ -12,18 +12,18 @@ Alias /laragon "C:/laragon/etc/apps/laragon/"
<Directory "C:/laragon/etc/apps/laragon/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverride None
Require local
</Directory>
<Directory "C:/laragon/etc/apps/laragon/uploads/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverride None
DirectoryIndex None.Always.Listing
Require local
SetHandler none
SetHandler default-handler

View File

@@ -1,9 +1,9 @@
Alias /memcached "C:/laragon/etc/apps/memcached/"
# to give access from outside
# to give access from outside
# replace the lines
#
# Require local
# Require local
#
# by
#
@@ -13,7 +13,7 @@ Alias /memcached "C:/laragon/etc/apps/memcached/"
<Directory "C:/laragon/etc/apps/memcached/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local
</Directory>

View File

@@ -1,10 +1,10 @@
Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/"
# to give access from outside
# to give access from outside
# replace the lines
#
# Require local
#
#
# by
#
# Require all granted
@@ -12,8 +12,8 @@ Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/"
<Directory "C:/laragon/etc/apps/phpMyAdmin/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
AllowOverride all
Require local
</Directory>

View File

@@ -1,9 +1,9 @@
Alias /redis "C:/laragon/etc/apps/phpredisAdmin/"
# to give access from outside
# to give access from outside
# replace the lines
#
# Require local
# Require local
#
# by
#
@@ -13,7 +13,7 @@ Alias /redis "C:/laragon/etc/apps/phpredisAdmin/"
<Directory "C:/laragon/etc/apps/phpredisAdmin/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local
</Directory>

View File

@@ -8,7 +8,7 @@ FcgidInitialEnv TEMP "C:/Windows/Temp"
FcgidInitialEnv TMP "C:/Windows/Temp"
FcgidInitialEnv windir "C:/Windows"
# 10 hrs: in case you have long running scripts, increase FcgidIOTimeout
# 10 hrs: in case you have long running scripts, increase FcgidIOTimeout
FcgidIOTimeout 36000
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 0

View File

@@ -5,7 +5,7 @@ SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLHonorCipherOrder on
SSLHonorCipherOrder on
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
@@ -13,5 +13,3 @@ SSLProxyProtocol all -SSLv3
SSLSessionCache "shmcb:logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300

View File

@@ -38,14 +38,14 @@ if exist "%USER_DIR%\user.cmd" (
echo :: call start-ssh-agent.cmd
echo :: set PATH=%%USER_DIR%%\bin\whatever;%%PATH%%
echo.
echo :: cmd /c start http://localhost
echo :: cmd /c start http://localhost
echo.
) > "%USER_DIR%\user.cmd"
:: cd /d "%CMDER_ROOT%\..\..\www"
rem
)
:: Laragon End -------------------------------------------------------------------
exit /b 0

View File

@@ -6,7 +6,7 @@ location /adminer {
location ~ ^/adminer/(.+\.php)$ {
alias C:/laragon/etc/apps/adminer/$1;
fastcgi_pass php_upstream;
fastcgi_pass php_upstream;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -12,7 +12,7 @@ location ~ /laragon/uploads/(.+)\.php$ {
location ~ ^/laragon/(.+\.php)$ {
allow all;
alias C:/laragon/etc/apps/laragon/$1;
fastcgi_pass php_upstream;
fastcgi_pass php_upstream;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -3,10 +3,10 @@ location /memcached {
alias C:/laragon/etc/apps/memcached/;
index index.php;
}
location ~ ^/memcached/(.+\.php)$ {
alias C:/laragon/etc/apps/memcached/$1;
fastcgi_pass php_upstream;
fastcgi_pass php_upstream;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -3,12 +3,12 @@ location /phpmyadmin {
alias C:/laragon/etc/apps/phpmyadmin/;
index index.php;
}
location ~ ^/phpmyadmin/(.+\.php)$ {
alias C:/laragon/etc/apps/phpmyadmin/$1;
fastcgi_pass php_upstream;
fastcgi_pass php_upstream;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -6,7 +6,7 @@ location /redis {
location ~ ^/redis/(.+\.php)$ {
alias C:/laragon/etc/apps/phpRedisAdmin/$1;
fastcgi_pass php_upstream;
fastcgi_pass php_upstream;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -173,9 +173,9 @@ class Memcached
protected $socket = null;
public function getVersion() {
return ['localhost:11211' => '1.4.5'];
return ['localhost:11211' => '1.4.5'];
}
//may check: https://raw.githubusercontent.com/GoogleCloudPlatform/python-compat-runtime/master/appengine-compat/exported_appengine_sdk/php/sdk/google/appengine/runtime/Memcached.php
public function setMulti() {
@@ -185,7 +185,7 @@ class Memcached
//TODO
die('TODO');
}
/**
* Add a serer to the server pool
*
@@ -444,7 +444,7 @@ class Memcached
/**
* Store an item.
* Store an item.
* Fails if $key already exists
*
* @param string $key
@@ -464,7 +464,7 @@ class Memcached
if ('STORED' == $s) {
$this->resultCode = Memcached::RES_SUCCESS;
$this->resultMessage = '';
$this->resultMessage = '';
return true;
} else {