!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/glchess/   drwxr-xr-x
Free 130.05 GB of 142.11 GB (91.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     defaults.py (4.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# -*- coding: utf-8 -*-
#
# defaults.py.in sets many important default global variables
# used throughout the game. Note that this file is processed by
# automake to set prefix paths etc. Please keep defaults.py.in
# in sync between glchess and gnome-sudoku. 

import os, os.path
import errno
import locale
import gettext

root_dir = os.path.dirname(__file__)
if not os.path.exists(os.path.join(root_dir, 'Makefile.am')):
    # Running in installed mode
    APP_DATA_DIR     = os.path.join('/usr', 'share')
    BASE_DIR         = os.path.join(APP_DATA_DIR, 'glchess')
    TEXTURE_DIR      = os.path.join(BASE_DIR, 'textures')
    UI_DIR           = BASE_DIR
    LOCALEDIR        = os.path.join(APP_DATA_DIR, 'locale')
    DATA_DIR         = os.path.expanduser('~/.gnome2/glchess/')
    LOG_DIR          = os.path.join(DATA_DIR, 'logs')
    CONFIG_FILE      = os.path.join(DATA_DIR, 'config.xml')
    HISTORY_DIR      = os.path.join(DATA_DIR, 'history')
    UNFINISHED_FILE  = os.path.join(HISTORY_DIR, 'unfinished')
    LOCAL_AI_CONFIG  = os.path.join(DATA_DIR, 'ai.xml')
    GGZ_DIR          = os.path.expanduser('~/.ggz')
    GGZ_CONFIG_FILE  = os.path.join(GGZ_DIR, 'ggz-gtk.rc')
else:
    # Running in uninstalled mode
    APP_DATA_DIR     = os.path.join(root_dir, '../../data')
    TEXTURE_DIR      = os.path.join(root_dir, '../../textures')
    UI_DIR           = os.path.join(root_dir, '../../data')
    BASE_DIR         = os.path.join(root_dir, '../../data')
    LOCALEDIR        = os.path.join(APP_DATA_DIR, 'locale')
    DATA_DIR         = os.path.expanduser('~/.gnome2/glchess/')
    LOG_DIR          = os.path.join(DATA_DIR, 'logs')
    CONFIG_FILE      = os.path.join(DATA_DIR, 'config.xml')
    HISTORY_DIR      = os.path.join(DATA_DIR, 'history')
    UNFINISHED_FILE  = os.path.join(HISTORY_DIR, 'unfinished')
    LOCAL_AI_CONFIG  = os.path.join(DATA_DIR, 'ai.xml')
    GGZ_DIR          = os.path.expanduser('~/.ggz')
    GGZ_CONFIG_FILE  = os.path.join(GGZ_DIR, 'ggz-gtk.rc')

DOMAIN = 'gnome-games'
locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
gettext.bindtextdomain(DOMAIN, LOCALEDIR)
gettext.textdomain(DOMAIN)
from gettext import gettext as _

VERSION   = "2.30.2"
APPNAME   = _("glChess")
ICON_NAME = 'gnome-glchess'

COPYRIGHT     = _('Copyright 2005-2008 Robert Ancell (and contributors)')
DESCRIPTION   = _('The 2D/3D chess game for GNOME. \n\nglChess is a part of GNOME Games.')
WEBSITE       = 'http://www.gnome.org/projects/gnome-games/'
WEBSITE_LABEL = _('GNOME Games web site')
AUTHORS       = ['Robert Ancell <bob27@users.sourceforge.net>\n'
         'Andreas Røsdal <andreasr@gnome.org>']
ARTISTS       = ['John-Paul Gignac (3D Models)', 'Max Froumentin (2D Models)', 'Hylke Bons <h.bons@student.rug.nl> (icon)']

# The GPL license string will be translated, and the game name inserted.
# This license is the same as in libgames-support/games-stock.c 
LICENSE = [_("%s is free software; you can redistribute it and/or modify " 
       "it under the terms of the GNU General Public License as published by " 
       "the Free Software Foundation; either version 2 of the License, or " 
       "(at your option) any later version.").replace("%s", APPNAME),
_("%s is distributed in the hope that it will be useful, "
       "but WITHOUT ANY WARRANTY; without even the implied warranty of "
       "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the "
       "GNU General Public License for more details.").replace("%s", APPNAME),
_("You should have received a copy of the GNU General Public License "
       "along with %s; if not, write to the Free Software Foundation, Inc., "
       "51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA").replace("%s", APPNAME)]

# License for 2D models is the following, which is GPL compatible, and therefore not included in the license dialog:
#2D Models:
#Copyright World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"""

try:
    os.makedirs(DATA_DIR)
except OSError, e:
    if e.errno != errno.EEXIST:
       print _('Unable to make data directory %(dir)s: %(error)s') % {'dir': DATA_DIR, 'error': e.strerror}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0118 ]--