Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Aug 10th, 2018
79
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
class SyspanelSqlLogger
def initialize(app)
@app = app
end
def call(env)
Thread.current["syspanel.sql.logger.enabled"] = (env['REQUEST_URI'] =~ /mypath/).present?
@app.call(env)
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
tata
JavaScript | 3 min ago | 15.21 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 7 min ago | 0.38 KB
Test Tween
Lua | 11 min ago | 0.61 KB
examples pract
C++ | 20 min ago | 3.81 KB
dl_stock
JSON | 56 min ago | 7.64 KB
dl_imdb
JSON | 57 min ago | 6.99 KB
dl_fashion
JSON | 59 min ago | 7.28 KB
VPN Server Logs
Bash | 1 hour ago | 197.26 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!