From Krayon, 8 Years ago, written in Bash.
">
A PHP Error was encounteredSeverity: Notice Message: Trying to access array offset on value of type bool Filename: view/view.php Line Number: 28 Backtrace:
File: /srv/http/stikked.MAIN/htdocs/themes/i386/views/view/view.php
File: /srv/http/stikked.MAIN/htdocs/application/core/MY_Loader.php
File: /srv/http/stikked.MAIN/htdocs/application/core/MY_Loader.php
File: /srv/http/stikked.MAIN/htdocs/application/controllers/Main.php
File: /srv/http/stikked.MAIN/htdocs/index.php A PHP Error was encounteredSeverity: Notice Message: Trying to access array offset on value of type bool Filename: view/view.php Line Number: 28 Backtrace:
File: /srv/http/stikked.MAIN/htdocs/themes/i386/views/view/view.php
File: /srv/http/stikked.MAIN/htdocs/application/core/MY_Loader.php
File: /srv/http/stikked.MAIN/htdocs/application/core/MY_Loader.php
File: /srv/http/stikked.MAIN/htdocs/application/controllers/Main.php
File: /srv/http/stikked.MAIN/htdocs/index.php Embed
|
|
#!/bin/bash [ "${1}" == "-u" ] && setxkbmap us && exit 0 [ "${1}" == "-r" ] && setxkbmap ru && exit 0 # Assume toggle cur="$(setxkbmap -query|grep layout:|awk '{print $2}')" [ "${cur}" == "ru" ] && setxkbmap us && exit 0 [ "${cur}" == "us" ] && setxkbmap ru && exit 0 # vim:ts=4:tw=80:sw=4:et:ai:si