slitaz-modular rev 130
Add tank profile. Made livecd part smaller for source dvd. One menu panel in tank profile.
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tank/config Sat Aug 27 18:30:55 2011 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 + 1.5 +# names of modular package lists 1.6 +# equals names of .list files in the order to build 1.7 +#MODULES="a.000.base a.001.justx a.002.core-basic a.003.core a.004.firefox a.005.core-xfce" 1.8 +BASE_MODULES="a.001.core a.002.firefox a.003.server a.004.xorg-extra a.005.libs 1.9 +a.006.apps a.007.gimp-help" 1.10 +#MODULES="" 1.11 + 1.12 +# download local copies of hg repos for iso 1.13 +# equals yes or no 1.14 +COPY_HG="yes" 1.15 + 1.16 +# update existing local copies of hg repos for iso in working folder 1.17 +# equals yes or no 1.18 +UPDATE_HG="yes" 1.19 + 1.20 +#HG_URL="https://bitbucket.org/gokhlayeh" 1.21 + 1.22 +# clean modules folders by removing them 1.23 +# equals yes or no 1.24 +CLEAN_MODULES_DIR="yes" 1.25 + 1.26 +# remove initramfs folder 1.27 +# equals yes or no 1.28 +CLEAN_INITRAMFS="yes" 1.29 + 1.30 +SRC_PKG="no" 1.31 +BACKUP_ALL="yes" 1.32 +BACKUP_PACKAGES="yes" 1.33 +BACKUP_SOURCES="yes" 1.34 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tank/list/a.001.core.list Sat Aug 27 18:30:55 2011 +0000 2.3 @@ -0,0 +1,223 @@ 2.4 +915resolution 2.5 +acl 2.6 +alsa-lib 2.7 +alsaplayer 2.8 +alsa-utils 2.9 +asunder 2.10 +atk 2.11 +atkmm 2.12 +attr 2.13 +beaver 2.14 +busybox 2.15 +bzlib 2.16 +cairo 2.17 +cairomm 2.18 +cdparanoia-III 2.19 +cdrkit 2.20 +clearlooks 2.21 +cookutils 2.22 +dbus 2.23 +dbus-glib 2.24 +depmod 2.25 +desktop-file-utils 2.26 +dialog 2.27 +dropbear 2.28 +e2fsprogs 2.29 +enchant 2.30 +epdfview 2.31 +expat 2.32 +firmware-iwlwifi-1000 2.33 +firmware-iwlwifi-3945 2.34 +firmware-iwlwifi-4965 2.35 +firmware-iwlwifi-5000 2.36 +firmware-iwlwifi-5150 2.37 +firmware-iwlwifi-6000 2.38 +firmware-iwlwifi-6050 2.39 +firmware-rt2x00 2.40 +fontconfig 2.41 +freetype 2.42 +fuse 2.43 +galculator 2.44 +gamin 2.45 +gcc-lib-base 2.46 +gcolor2 2.47 +gdk-pixbuf 2.48 +gettext-base 2.49 +glib 2.50 +glibc-base 2.51 +glibmm 2.52 +gparted 2.53 +gpxe 2.54 +grub4dos-linux 2.55 +gtk+ 2.56 +gtkdialog 2.57 +gtkmm 2.58 +hardinfo 2.59 +hicolor-icon-theme 2.60 +isapnptools 2.61 +isomaster 2.62 +jpeg 2.63 +kbd-base 2.64 +lcms 2.65 +leafpad 2.66 +libcap 2.67 +libcddb 2.68 +libcomerr 2.69 +libcrypto 2.70 +libgcrypt 2.71 +libgio 2.72 +libgiomm 2.73 +libglade 2.74 +libgnutls 2.75 +libgpg-error 2.76 +libjpeg 2.77 +libmad 2.78 +libnotify 2.79 +libogg 2.80 +libpng 2.81 +libsexy 2.82 +libsigc++ 2.83 +libsoup 2.84 +libsqlite 2.85 +libssl 2.86 +libtasn1 2.87 +libtaz 2.88 +libunique 2.89 +libusb 2.90 +libusb-compat 2.91 +libvorbis 2.92 +libwebkit 2.93 +libxcb 2.94 +libxml2 2.95 +libxslt 2.96 +linux 2.97 +linux-cifs 2.98 +linux-crypto 2.99 +linux-firewire 2.100 +firmware-radeon 2.101 +linux-kvm 2.102 +linux-sound 2.103 +linux-speakup 2.104 +linux-reiserfs 2.105 +linux-wireless 2.106 +lostirc 2.107 +lua 2.108 +lxappearance 2.109 +lxpanel 2.110 +lxtask 2.111 +lzlib 2.112 +lzma 2.113 +menu-cache 2.114 +mhwaveedit 2.115 +midori 2.116 +mtpaint 2.117 +nano 2.118 +nanochess 2.119 +ncurses 2.120 +ncurses-common 2.121 +ncursesw 2.122 +ndiswrapper-utils 2.123 +ntfs-3g 2.124 +ntfsprogs 2.125 +obconf 2.126 +openbox 2.127 +pango 2.128 +pangomm 2.129 +parted 2.130 +pciutils 2.131 +pcmanfm 2.132 +pcmciautils 2.133 +pcre 2.134 +pixman 2.135 +poppler 2.136 +popt 2.137 +ppp 2.138 +readline 2.139 +rp-pppoe 2.140 +shared-mime-info 2.141 +slim 2.142 +slitaz-base-files 2.143 +slitaz-boot-scripts 2.144 +slitaz-configs 2.145 +slitaz-configs-base 2.146 +slitaz-doc 2.147 +slitaz-icon 2.148 +slitaz-menus 2.149 +slitaz-polar-cursors 2.150 +slitaz-tools 2.151 +slitaz-tools-boxes 2.152 +sqlite 2.153 +startup-notification 2.154 +sudo 2.155 +sudoku 2.156 +sudoku-savant 2.157 +sysfsutils 2.158 +syslinux 2.159 +syslinux-extra 2.160 +tazchroot 2.161 +tazlito 2.162 +tazpanel 2.163 +tazpkg 2.164 +tazusb 2.165 +tazwikiss 2.166 +tazweb 2.167 +tazwok 2.168 +tiff 2.169 +transset-df 2.170 +ttf-dejavu 2.171 +udev 2.172 +util-linux-ng-blkid 2.173 +util-linux-ng-getopt 2.174 +util-linux-ng-uuid 2.175 +viewnior 2.176 +web-applications 2.177 +wireless_tools 2.178 +wpa_supplicant 2.179 +xcb-util 2.180 +xorg 2.181 +xorg-base-fonts 2.182 +xorg-libfontenc 2.183 +xorg-libICE 2.184 +xorg-libpciaccess 2.185 +xorg-libSM 2.186 +xorg-libX11 2.187 +xorg-libXau 2.188 +xorg-libXaw 2.189 +xorg-libXcomposite 2.190 +xorg-libXcursor 2.191 +xorg-libXdamage 2.192 +xorg-libXdmcp 2.193 +xorg-libXext 2.194 +xorg-libXfixes 2.195 +xorg-libXfont 2.196 +xorg-libXft 2.197 +xorg-libXi 2.198 +xorg-libXinerama 2.199 +xorg-libxkbfile 2.200 +xorg-libXmu 2.201 +xorg-libXpm 2.202 +xorg-libXrandr 2.203 +xorg-libXrender 2.204 +xorg-libXss 2.205 +xorg-libXt 2.206 +xorg-libXtst 2.207 +xorg-libXxf86vm 2.208 +xorg-rgb 2.209 +xorg-server 2.210 +xorg-setxkbmap 2.211 +xorg-xauth 2.212 +xorg-xcompmgr 2.213 +xorg-xf86-input-evdev 2.214 +xorg-xf86-video-vesa 2.215 +xorg-xkbcomp 2.216 +xorg-xkeyboard-config 2.217 +xterm 2.218 +yad 2.219 +zlib 2.220 +texinfo 2.221 +libdrm 2.222 +linux-drm 2.223 +linux-agp 2.224 +linux-ipv6 2.225 +linux-hwmon 2.226 +htop 2.227 \ No newline at end of file
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tank/list/a.002.firefox.list Sat Aug 27 18:30:55 2011 +0000 3.3 @@ -0,0 +1,5 @@ 3.4 +firefox 3.5 +firefox-langpack-fr 3.6 +firefox-langpack-zh_CN 3.7 +firefox-langpack-zh_TW 3.8 +mozplugger 3.9 \ No newline at end of file
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/tank/list/a.003.server.list Sat Aug 27 18:30:55 2011 +0000 4.3 @@ -0,0 +1,35 @@ 4.4 +lighttpd 4.5 +lighttpd-modules 4.6 +php 4.7 +php-cli 4.8 +#php-mysql 4.9 +perl-geo-ipfree 4.10 +php-gd 4.11 +mercurial 4.12 +make 4.13 +awstats 4.14 +rrdtool 4.15 +slitaz-mercurial-style 4.16 +tazpkg-web 4.17 +coreutils-context-system 4.18 +coreutils-disk 4.19 +dokuwiki 4.20 +dokuwiki-plugin-captcha 4.21 +dokuwiki-plugin-note 4.22 +dokuwiki-plugin-translation 4.23 +lfs-book 4.24 +hgbook 4.25 +absguide 4.26 +fail2ban 4.27 +ajaxterm 4.28 +shellinabox 4.29 +rsync 4.30 +dnsmasq 4.31 +pwgen 4.32 +util-linux-ng-blkid 4.33 +util-linux-ng-uuid 4.34 +postfix 4.35 +rsnapshot 4.36 +openssl 4.37 +openssh 4.38 +ssfs-server 4.39 \ No newline at end of file
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/tank/list/a.004.xorg-extra.list Sat Aug 27 18:30:55 2011 +0000 5.3 @@ -0,0 +1,40 @@ 5.4 +#fonts 5.5 +ttf-bitstream-vera 5.6 +ttf-dejavu 5.7 +ttf-dejavu-extra 5.8 +wqy-bitmapfont 5.9 +wqy-microhei 5.10 +pcf-uming 5.11 +mesa 5.12 +mesa-dri 5.13 +mesa-demos 5.14 +libglw-mesa 5.15 +libegl-mesa 5.16 +libglu-mesa 5.17 +xorg-xf86-video-ati 5.18 +#xorg-xf86-video-geode 5.19 +xorg-xf86-video-i740 5.20 +xorg-xf86-video-intel 5.21 +xorg-xf86-video-mach64 5.22 +xorg-xf86-video-mga 5.23 +xorg-xf86-video-neomagic 5.24 +xorg-xf86-video-nv 5.25 +xorg-xf86-video-openchrome 5.26 +xorg-xf86-video-r128 5.27 +xorg-xf86-video-s3 5.28 +xorg-xf86-video-savage 5.29 +xorg-xf86-video-sis 5.30 +xorg-xf86-video-trident 5.31 +xorg-xf86-video-v4l 5.32 +xorg-xf86-video-vmware 5.33 +#xorg-input 5.34 +xorg-xf86-input-elographics 5.35 +xorg-xf86-input-evtouch 5.36 +xorg-xf86-input-keyboard 5.37 +#xorg-xf86-input-microtouch 5.38 +xorg-xf86-input-mouse 5.39 +xorg-xf86-input-mutouch 5.40 +#xorg-xf86-input-plpevtch 5.41 +xorg-xf86-input-synaptics 5.42 +xorg-xf86-input-vmmouse 5.43 +xorg-xf86-input-void 5.44 \ No newline at end of file
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/tank/list/a.005.libs.list Sat Aug 27 18:30:55 2011 +0000 6.3 @@ -0,0 +1,30 @@ 6.4 +#apps 6.5 +gimp 6.6 +gimp-console 6.7 +gimp-plug-ins 6.8 +abiword 6.9 +gnumeric 6.10 +pidgin 6.11 +mplayer 6.12 +smplayer 6.13 +pan 6.14 +geany 6.15 +comix 6.16 +gtkpod 6.17 +deluge 6.18 +devede 6.19 +xfburn 6.20 +mixxx 6.21 +zsnes 6.22 +gens-gs 6.23 +avidemux 6.24 +audacious 6.25 +audacious-plugins 6.26 +virtualbox-ose 6.27 +# web-apps 6.28 +checkers 6.29 +chess3d 6.30 +p4wn 6.31 +nanochess 6.32 +jstetris 6.33 +hatenarunner 6.34 \ No newline at end of file
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/tank/list/a.005.libs.removelist Sat Aug 27 18:30:55 2011 +0000 7.3 @@ -0,0 +1,30 @@ 7.4 +#apps 7.5 +gimp 7.6 +gimp-console 7.7 +gimp-plug-ins 7.8 +abiword 7.9 +gnumeric 7.10 +pidgin 7.11 +mplayer 7.12 +smplayer 7.13 +pan 7.14 +geany 7.15 +comix 7.16 +gtkpod 7.17 +deluge 7.18 +devede 7.19 +xfburn 7.20 +mixxx 7.21 +zsnes 7.22 +gens-gs 7.23 +avidemux 7.24 +audacious 7.25 +audacious-plugins 7.26 +virtualbox-ose 7.27 +# web-apps 7.28 +checkers 7.29 +chess3d 7.30 +p4wn 7.31 +nanochess 7.32 +jstetris 7.33 +hatenarunner 7.34 \ No newline at end of file
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/tank/list/a.006.apps.list Sat Aug 27 18:30:55 2011 +0000 8.3 @@ -0,0 +1,49 @@ 8.4 +#apps 8.5 +gimp 8.6 +gimp-console 8.7 +gimp-plug-ins 8.8 +abiword 8.9 +gnumeric 8.10 +pidgin 8.11 +mplayer 8.12 +smplayer 8.13 +pan 8.14 +geany 8.15 +comix 8.16 +gtkpod 8.17 +deluge 8.18 +devede 8.19 +xfburn 8.20 +mixxx 8.21 +zsnes 8.22 +gens-gs 8.23 +avidemux 8.24 +audacious 8.25 +audacious-plugins 8.26 +virtualbox-ose 8.27 +dosfstools 8.28 +xfsprogs 8.29 +reiserfsprogs 8.30 +btrfs-progs 8.31 +mpg123 8.32 +espeak 8.33 +xfburn 8.34 +cdrkit 8.35 +dvd+rw-tools 8.36 +xarchiver 8.37 +unzip 8.38 +p7zip 8.39 +lrzip 8.40 +tar 8.41 +file 8.42 +dvd+rw-tools 8.43 +cdrkit 8.44 +mc 8.45 +squashfs 8.46 +# web-apps 8.47 +checkers 8.48 +chess3d 8.49 +p4wn 8.50 +nanochess 8.51 +jstetris 8.52 +hatenarunner 8.53 \ No newline at end of file
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/tank/list/a.007.gimp-help.list Sat Aug 27 18:30:55 2011 +0000 9.3 @@ -0,0 +1,3 @@ 9.4 +gimp-help-en 9.5 +gimp-help-fr 9.6 +gimp-help-es 9.7 \ No newline at end of file
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/tank/list/srcpkg.banned Sat Aug 27 18:30:55 2011 +0000 10.3 @@ -0,0 +1,1 @@ 10.4 +gcc 10.5 \ No newline at end of file
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/tank/overlay/etc/filesystems Sat Aug 27 18:30:55 2011 +0000 11.3 @@ -0,0 +1,6 @@ 11.4 +ext4 11.5 +ext3 11.6 +ext2 11.7 +vfat 11.8 +ntfs-3g 11.9 +*
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/tank/overlay/etc/firewall.conf Sat Aug 27 18:30:55 2011 +0000 12.3 @@ -0,0 +1,65 @@ 12.4 +# /etc/firewall.conf: SliTaz firewall configuration. 12.5 +# Config file used by: /etc/init.d/firewall.sh 12.6 +# 12.7 + 12.8 +# Network interface. 12.9 +INTERFACE="eth0" 12.10 + 12.11 +# Enable/disable kernel security. 12.12 +KERNEL_SECURITY="yes" 12.13 + 12.14 +# Enable/disable iptables rules (iptables package must be installed). 12.15 +IPTABLES_RULES="yes" 12.16 + 12.17 +# Netfilter/iptables rules. 12.18 +# This shell function is included in /etc/init.d/firewall.sh 12.19 +# to start iptables rules. 12.20 +# 12.21 +iptables_rules() 12.22 +{ 12.23 + 12.24 +# Drop all input connections. 12.25 +iptables -P INPUT DROP 12.26 + 12.27 +# Drop all output connections. 12.28 +iptables -P OUTPUT DROP 12.29 + 12.30 +# Drop all forward connections. 12.31 +iptables -P FORWARD DROP 12.32 + 12.33 +# Accept input on localhost (127.0.0.1). 12.34 +iptables -A INPUT -i lo -j ACCEPT 12.35 + 12.36 +# Accept input on the local network (192.168.0.0/24). 12.37 +iptables -A INPUT -s 192.168.0.0/24 -j ACCEPT 12.38 + 12.39 +# Accept near all output trafic. 12.40 +iptables -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT 12.41 + 12.42 +# Accept input trafic only for connections initialized by user. 12.43 +iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT 12.44 + 12.45 +# If you manage a HTTP/SSH/FTP/IRC server you can accept input for non-established connections an some ports. 12.46 +# else you can disable the lines below for more secured setup 12.47 + 12.48 +# Accept input on port 80 for the HTTP server. 12.49 +iptables -A INPUT -i $INTERFACE -p tcp --source-port 80 -j ACCEPT 12.50 + 12.51 +# Accept input on port 22 for SSH. 12.52 +iptables -A INPUT -i $INTERFACE -p tcp --destination-port 22 -j ACCEPT 12.53 + 12.54 +# Accept port 21 and, 1024 to 60310 for FTP. 12.55 +iptables -A INPUT -i $INTERFACE -p tcp --destination-port 21 -j ACCEPT 12.56 +iptables -A INPUT -i $INTERFACE -p tcp --destination-port 1024:60310 -j ACCEPT 12.57 + 12.58 +# Accept port 6667 for IRC chat. 12.59 +iptables -A INPUT -i $INTERFACE -p tcp --source-port 6667 -j ACCEPT 12.60 + 12.61 +# Accept unprivileged ports. 12.62 +iptables -A INPUT -i $INTERFACE -p udp --destination-port 1024:65535 -j ACCEPT 12.63 + 12.64 +# Accept ping. 12.65 +iptables -A INPUT -i $INTERFACE -p icmp -j ACCEPT 12.66 + 12.67 +} 12.68 +
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/tank/overlay/etc/fstab Sat Aug 27 18:30:55 2011 +0000 13.3 @@ -0,0 +1,9 @@ 13.4 +# /etc/fstab: Information about static filesystems. 13.5 +# 13.6 +proc /proc proc defaults 0 0 13.7 +sysfs /sys sysfs defaults 0 0 13.8 +devpts /dev/pts devpts rw,gid=5,mode=620 0 0 13.9 +tmpfs /dev/shm tmpfs defaults 0 0 13.10 +tmpfs /tmp tmpfs defaults 0 0 13.11 +#/dev/hda3 /home ext3 defaults 0 2 13.12 +#/dev/hdb1 /mnt/data ext3 defaults 0 2
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/tank/overlay/etc/init.d/bootopts.sh Sat Aug 27 18:30:55 2011 +0000 14.3 @@ -0,0 +1,211 @@ 14.4 +#!/bin/sh 14.5 +# /etc/init.d/bootopts.sh - SliTaz boot options from the cmdline. 14.6 +# 14.7 +# Earlier boot options are in rcS, ex: config= and modprobe= 14.8 +# 14.9 +. /etc/init.d/rc.functions 14.10 + 14.11 +# Update fstab for swapon/swapoff 14.12 +add_swap_in_fstab() 14.13 +{ 14.14 + grep -q "$1 " /etc/fstab || cat >> /etc/fstab <<EOT 14.15 +$1 swap swap default 0 0 14.16 +EOT 14.17 +} 14.18 + 14.19 +# Default user account without password (uid=1000). In live mode the option 14.20 +# user=name can be used, but user must be added before home= to have home dir. 14.21 +# This option is not handled by a loop and case like others and has no 14.22 +# effect on an installed system. 14.23 +if ! grep -q "100[0-9]:100[0-9]" /etc/passwd; then 14.24 + if grep -q "user=" /proc/cmdline; then 14.25 + USER=`cat /proc/cmdline | sed 's/.*user=\([^ ]*\).*/\1/'` 14.26 + # Avoid usage of an existing system user or root. 14.27 + if grep -q ^$USER /etc/passwd; then 14.28 + USER=tux 14.29 + fi 14.30 + else 14.31 + USER=tux 14.32 + fi 14.33 + echo -n "Configuring user and group: $USER..." 14.34 + adduser -D -s /bin/sh -g "SliTaz User" -G users -h /home/$USER $USER 14.35 + passwd -d $USER >/dev/null 14.36 + status 14.37 + # Audio and cdrom group. 14.38 + addgroup $USER audio 14.39 + addgroup $USER cdrom 14.40 + addgroup $USER video 14.41 + addgroup $USER tty 14.42 + # Slim default user. 14.43 + if [ -f /etc/slim.conf ]; then 14.44 + sed -i s/"default_user .*"/"default_user $USER"/\ 14.45 + /etc/slim.conf 14.46 + fi 14.47 + # copy lxpanel configs 14.48 + if [ ! -d /home/$USER/.config/lxpanel/slitaz ]; then 14.49 + mkdir -p /home/$USER/.config/lxpanel 14.50 + cp -a /etc/lxpanel/slitaz /home/$USER/.config/lxpanel 14.51 + chown -R $USER.users /home/$USER/.config/lxpanel 14.52 + chown -R 700 /home/$USER/.config/lxpanel 14.53 + fi 14.54 +fi 14.55 + 14.56 +# Parse /proc/cmdline for boot options. 14.57 +echo "Parsing kernel cmdline for SliTaz live options... " 14.58 + 14.59 +for opt in `cat /proc/cmdline` 14.60 +do 14.61 + case $opt in 14.62 + eject) 14.63 + # Eject cdrom. 14.64 + eject /dev/cdrom ;; 14.65 + autologin) 14.66 + # Autologin option to skip first graphic login prompt. 14.67 + echo "auto_login yes" >> /etc/slim.conf ;; 14.68 + lang=*) 14.69 + # Check for a specified locale (lang=*). 14.70 + LANG=${opt#lang=} 14.71 + echo -n "Setting system locale to: $LANG... " 14.72 + tazlocale init $LANG 14.73 + status ;; 14.74 + kmap=*) 14.75 + # Check for a specified keymap (kmap=*). 14.76 + KEYMAP=${opt#kmap=} 14.77 + echo -n "Setting system keymap to: $KEYMAP..." 14.78 + echo "$KEYMAP" > /etc/keymap.conf 14.79 + status ;; 14.80 + home=*) 14.81 + # Check for a specified home partition (home=*) and check for 14.82 + # user home dir. Note: home=usb is a shorter and easier way to 14.83 + # have home=/dev/sda1. 14.84 + DEVICE=${opt#home=} 14.85 + [ "$DEVICE" = "usb" ] && DEVICE=sda1 14.86 + echo "Home has been specified to $DEVICE..." 14.87 + DEVID=`/sbin/blkid | sed 'p;s/"//g' | grep "$DEVICE" | sed 's/:.*//;q'` 14.88 + if [ -z "$DEVID" ]; then 14.89 + USBDELAY=`cat /sys/module/usb_storage/parameters/delay_use` 14.90 + USBDELAY=$((2+$USBDELAY)) 14.91 + echo "Sleeping $USBDELAY s to let the kernel detect the device... " 14.92 + sleep $USBDELAY 14.93 + fi 14.94 + USER=`cat /etc/passwd | sed '/:1000:/!d;s/:.*//;q'` 14.95 + DEVID=$DEVICE 14.96 + if [ -x /sbin/blkid ]; then 14.97 + # Can be a label, uuid, type or devname. DEVID gives us first: /dev/name. 14.98 + DEVID=`/sbin/blkid | sed 'p;s/"//g' | grep "$DEVICE" | sed 's/:.*//;q'` 14.99 + fi 14.100 + DEVID=${DEVID##*/} 14.101 + if [ -n "$DEVID" ] && grep -q "$DEVID" /proc/partitions ; then 14.102 + echo "Mounting /home on /dev/$DEVID... " 14.103 + [ -d /home/$USER ] && mv /home/$USER /tmp/$USER-files 14.104 + mount /dev/$DEVID /home -o uid=1000,gid=100 2>/dev/null \ 14.105 + || mount /dev/$DEVID /home 14.106 + # Check if swap file must be generated in /home: swap=size (Mb). 14.107 + # This option is only used within home=device. 14.108 + if grep -q "swap=[1-9]*" /proc/cmdline; then 14.109 + SWAP_SIZE=`sed 's/.*swap=\([^ ]*\).*/\1/' < /proc/cmdline` 14.110 + # DD to gen a virtual disk. 14.111 + echo "Generating swap file: /home/swap ($SWAP_SIZE)..." 14.112 + dd if=/dev/zero of=/home/swap bs=1M count=$SWAP_SIZE 14.113 + # Make the Linux swap filesystem. 14.114 + mkswap /home/swap 14.115 + add_swap_in_fstab /home/swap 14.116 + fi 14.117 + else 14.118 + echo "Unable to find $DEVICE... " 14.119 + fi 14.120 + # Move all user dir if needed. 14.121 + if [ ! -d "/home/$USER" ] ; then 14.122 + mv /tmp/$USER-files /home/$USER 14.123 + chown -R $USER.users /home/$USER 14.124 + else 14.125 + rm -rf /tmp/$USER-files 14.126 + fi 14.127 + # Install all packages in /home/boot/packages. In live CD and 14.128 + # USB mode the option home= mounts the device on /home, so we 14.129 + # already have a boot directory with the Kernel and rootfs. 14.130 + if [ -d "/home/boot/packages" ]; then 14.131 + for pkg in /home/boot/packages/*.tazpkg 14.132 + do 14.133 + tazpkg install $pkg 14.134 + done 14.135 + fi 14.136 + # We can have custom files in /home/boot/rootfs to overwrite 14.137 + # the one packed into the Live system. 14.138 + if [ -d "/home/boot/rootfs" ]; then 14.139 + cp -a /home/boot/rootfs/* / 14.140 + fi ;; 14.141 + laptop) 14.142 + # Laptop option to load related Kernel modules. 14.143 + echo "Loading laptop modules: ac, battery, fan, yenta_socket..." 14.144 + for mod in ac battery fan yenta_socket 14.145 + do 14.146 + modprobe $mod 14.147 + done 14.148 + grep -qs batt /etc/lxpanel/default/panels/panel || 14.149 + sed -i 's/= cpu/= batt\n}\n\nPlugin {\n type = cpu/' \ 14.150 + /etc/lxpanel/default/panels/panel 2> /dev/null 14.151 + # Enable Kernel Laptop mode. 14.152 + echo "5" > /proc/sys/vm/laptop_mode ;; 14.153 + mount) 14.154 + # Mount all ext3 partitions found (opt: mount). 14.155 + # Get the list of partitions. 14.156 + DEVICES_LIST=`fdisk -l | sed '/83 Linux/!d;s/ .*//'` 14.157 + # Mount filesystems rw. 14.158 + for device in $DEVICES_LIST 14.159 + do 14.160 + name=${device#/dev/} 14.161 + # Device can be already used by home=usb. 14.162 + if ! mount | grep ^$device >/dev/null; then 14.163 + echo "Mounting partition: $name on /mnt/$name" 14.164 + mkdir /mnt/$name 14.165 + mount $device /mnt/$name 14.166 + fi 14.167 + done ;; 14.168 + mount-packages) 14.169 + # Mount and install packages-XXX.iso (useful without Internet 14.170 + # connection). 14.171 + PKGSIGN="LABEL=\"packages-$(cat /etc/slitaz-release)\" TYPE=\"iso9660\"" 14.172 + PKGDEV=$(blkid | grep "$PKGSIGN" | cut -d: -f1) 14.173 + [ -z "$PKGDEV" -a -L /dev/cdrom ] && \ 14.174 + PKGDEV=$(blkid /dev/cdrom | grep "$PKGSIGN" | cut -d: -f1) 14.175 + if [ -n "$PKGDEV" ]; then 14.176 + echo -n "Mounting packages archive from $PKGDEV..." 14.177 + mkdir /packages && mount -t iso9660 -o ro $PKGDEV /packages 14.178 + status 14.179 + /packages/install.sh 14.180 + fi ;; 14.181 + wm=*) 14.182 + # Check for a Window Manager (for a flavor, default WM can be changed 14.183 + # with boot options or with an addfile in /etc/X11/wm.default. 14.184 + WM=${opt#wm=} 14.185 + mkdir -p /etc/X11 14.186 + case $WM in 14.187 + jwm) 14.188 + echo "jwm" > /etc/X11/wm.default ;; 14.189 + ob|openbox|openbox-session) 14.190 + echo "openbox" > /etc/X11/wm.default ;; 14.191 + e17|enlightenment|enlightenment_start) 14.192 + echo "enlightenment" > /etc/X11/wm.default ;; 14.193 + esac ;; 14.194 + *) 14.195 + continue ;; 14.196 + esac 14.197 +done 14.198 + 14.199 +# If no default WM fallback to Openbox (we never know). 14.200 +if [ ! -f /etc/X11/wm.default ]; then 14.201 + echo "openbox" > /etc/X11/wm.default 14.202 +fi 14.203 + 14.204 +# Activate an eventual swap file or partition. 14.205 +if [ "`fdisk -l | grep swap`" ]; then 14.206 + for SWAP_DEV in `fdisk -l | sed '/swap/!d;s/ .*//'`; do 14.207 + echo "Swap memory detected on: $SWAP_DEV" 14.208 + add_swap_in_fstab $SWAP_DEV 14.209 + done 14.210 +fi 14.211 +if grep -q swap /etc/fstab; then 14.212 + echo "Activating swap memory..." 14.213 + swapon -a 14.214 +fi
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/tank/overlay/etc/init.d/system.sh Sat Aug 27 18:30:55 2011 +0000 15.3 @@ -0,0 +1,154 @@ 15.4 +#!/bin/sh 15.5 +# /etc/init.d/system.sh - SliTaz hardware configuration. 15.6 +# 15.7 +# This script configures the sound card and screen. Tazhw is used earlier 15.8 +# at boot time to autoconfigure PCI and USB devices. It also configures 15.9 +# system language, keyboard and TZ in live mode. 15.10 +# 15.11 +. /etc/init.d/rc.functions 15.12 + 15.13 +# Parse cmdline args for boot options (See also rcS and bootopts.sh). 15.14 +XARG="" 15.15 +for opt in $(cat /proc/cmdline) 15.16 +do 15.17 + case $opt in 15.18 + console=*) 15.19 + sed -i "s/tty1/${opt#console=}/g;/^tty[2-9]::/d" \ 15.20 + /etc/inittab ;; 15.21 + sound=*) 15.22 + DRIVER=${opt#sound=} ;; 15.23 + xarg=*) 15.24 + XARG="$XARG ${opt#xarg=}" ;; 15.25 + screen=text) 15.26 + SCREEN=text 15.27 + # Disable X. 15.28 + echo -n "Disabling X login manager: slim..." 15.29 + . /etc/rcS.conf 15.30 + RUN_DAEMONS=$(echo $RUN_DAEMONS | sed s/' slim'/''/) 15.31 + sed -i s/"RUN_DAEMONS.*"/"RUN_DAEMONS=\"$RUN_DAEMONS\"/" /etc/rcS.conf 15.32 + status ;; 15.33 + screen=*) 15.34 + SCREEN=${opt#screen=} ;; 15.35 + *) 15.36 + continue ;; 15.37 + esac 15.38 +done 15.39 + 15.40 +# Sound configuration stuff. First check if sound=no and remove all 15.41 +# sound Kernel modules. 15.42 +if [ -n "$DRIVER" ]; then 15.43 + case "$DRIVER" in 15.44 + no) 15.45 + echo -n "Removing all sound kernel modules..." 15.46 + rm -rf /lib/modules/`uname -r`/kernel/sound 15.47 + status 15.48 + echo -n "Removing all sound packages..." 15.49 + for i in $(grep -l '^DEPENDS=.*alsa-lib' /var/lib/tazpkg/installed/*/receipt) ; do 15.50 + pkg=${i#/var/lib/tazpkg/installed/} 15.51 + echo 'y' | tazpkg remove ${pkg%/*} > /dev/null 15.52 + done 15.53 + for i in alsa-lib mhwaveedit asunder libcddb ; do 15.54 + echo 'y' | tazpkg remove $i > /dev/null 15.55 + done 15.56 + status ;; 15.57 + noconf) 15.58 + echo "Sound configuration was disabled from cmdline..." ;; 15.59 + *) 15.60 + if [ -x /usr/sbin/soundconf ]; then 15.61 + echo "Using sound kernel module $DRIVER..." 15.62 + /usr/sbin/soundconf -M $DRIVER 15.63 + fi ;; 15.64 + esac 15.65 +# Sound card may already be detected by PCI-detect. 15.66 +elif [ -d /proc/asound ]; then 15.67 + # Restore sound config for installed system. 15.68 + if [ -s /var/lib/alsa/asound.state ]; then 15.69 + echo -n "Restoring last alsa configuration..." 15.70 + alsactl restore 15.71 + status 15.72 + else 15.73 + /usr/sbin/setmixer 15.74 + fi 15.75 + # Start soundconf to config driver and load module for Live mode 15.76 + # if not yet detected. 15.77 + /usr/bin/amixer >/dev/null || /usr/sbin/soundconf 15.78 +else 15.79 + echo "Unable to configure sound card." 15.80 +fi 15.81 + 15.82 +# Start TazPanel 15.83 +[ -x /usr/bin/tazpanel ] && tazpanel start 15.84 + 15.85 +# Auto recharge packages list (after network connection of course) 15.86 +[ "$RECHARGE_PACKAGES_LIST" == "yes" ] && tazpkg recharge & 15.87 + 15.88 +# Locale config. Do a gui config for both lang/keymap. 15.89 +echo "Checking if /etc/locale.conf exists... " 15.90 +if [ ! -s "/etc/locale.conf" ]; then 15.91 + if [ "$SCREEN" != "text" ] && [ -x /usr/bin/Xorg ]; then 15.92 + echo "Starting TazBox configuration..." 15.93 + DISPLAY=:1 tazbox boot 15.94 + else 15.95 + tazlocale 15.96 + fi 15.97 +else 15.98 + lang=$(cat /etc/locale.conf | fgrep LANG | cut -d "=" -f 2) 15.99 + echo -n "Locale configuration: $lang" && status 15.100 +fi 15.101 + 15.102 +# Keymap config. 15.103 +if [ -s "/etc/keymap.conf" ]; then 15.104 + KEYMAP=$(cat /etc/keymap.conf) 15.105 + echo "Keymap configuration: $KEYMAP" 15.106 + if [ -x /bin/loadkeys ]; then 15.107 + loadkeys $KEYMAP 15.108 + else 15.109 + loadkmap < /usr/share/kmap/$KEYMAP.kmap 15.110 + fi 15.111 +else 15.112 + tazkeymap 15.113 +fi 15.114 + 15.115 +# Timezone config. Set timezone using the keymap config for fr, be, fr_CH 15.116 +# and ca with Montreal. 15.117 +if [ ! -s "/etc/TZ" ]; then 15.118 + map=$(cat /etc/keymap.conf) 15.119 + case "$map" in 15.120 + fr-latin1|be-latin1) 15.121 + echo "Europe/Paris" > /etc/TZ ;; 15.122 + fr_CH-latin1|de_CH-latin1) 15.123 + echo "Europe/Zurich" > /etc/TZ ;; 15.124 + cf) 15.125 + echo "America/Montreal" > /etc/TZ ;; 15.126 + *) 15.127 + echo "UTC" > /etc/TZ ;; 15.128 + esac 15.129 +fi 15.130 + 15.131 +# Xorg auto configuration. 15.132 +if [ "$SCREEN" != "text" -a ! -s /etc/X11/xorg.conf -a -x /usr/bin/Xorg ]; then 15.133 + echo "Configuring Xorg..." 15.134 + # $HOME is not yet set. 15.135 + HOME=/root 15.136 + sed -i 's|/usr/bin/Xvesa|/usr/bin/Xorg|' /etc/slim.conf 15.137 + sed -i s/"^xserver_arguments"/'\#xserver_arguments'/ /etc/slim.conf 15.138 + tazx config-xorg 2>/var/log/xorg.configure.log 15.139 +fi 15.140 + 15.141 +# Start X sesssion as soon as possible in Live/frugal mode. HD install 15.142 +# can use FAST_BOOT_X which starts X beforehand. In live mode we need 15.143 +# keymap config for Xorg configuration and a working Xorg config. 15.144 +#if [ "$SCREEN" != "text" ] && [ -x /usr/bin/slim ]; then 15.145 + #if fgrep -q root=/dev/null /proc/cmdline; then 15.146 + #/etc/init.d/slim start 15.147 + #fi 15.148 +#fi 15.149 + 15.150 +# Firefox hack to get the right locale. 15.151 +if fgrep -q "fr_" /etc/locale.conf; then 15.152 + # But is the fox installed ? 15.153 + if [ -f "/var/lib/tazpkg/installed/firefox/receipt" ]; then 15.154 + . /var/lib/tazpkg/installed/firefox/receipt 15.155 + sed -i 's/en-US/fr/' /etc/firefox/pref/firefox-l10n.js 15.156 + fi 15.157 +fi
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/tank/overlay/etc/lxpanel/default/config Sat Aug 27 18:30:55 2011 +0000 16.3 @@ -0,0 +1,4 @@ 16.4 +[Command] 16.5 +FileManager=pcmanfm %s 16.6 +Terminal=xterm 16.7 +Logout=desktopbox logout
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/tank/overlay/etc/lxpanel/default/panels/panel Sat Aug 27 18:30:55 2011 +0000 17.3 @@ -0,0 +1,181 @@ 17.4 +# lxpanel <profile> config file. Manually editing is not recommended. 17.5 +# Use preference dialog in lxpanel to adjust config when you can. 17.6 + 17.7 +Global { 17.8 + edge=bottom 17.9 + allign=center 17.10 + margin=0 17.11 + widthtype=percent 17.12 + width=100 17.13 + height=24 17.14 + transparent=0 17.15 + tintcolor=#ffffff 17.16 + alpha=20 17.17 + autohide=0 17.18 + heightwhenhidden=2 17.19 + setdocktype=1 17.20 + setpartialstrut=1 17.21 + usefontcolor=1 17.22 + fontcolor=#ffffff 17.23 + background=1 17.24 + backgroundfile=/usr/share/images/panel-background.png 17.25 + iconsize=24 17.26 +} 17.27 + 17.28 +Plugin { 17.29 + type = space 17.30 + Config { 17.31 + Size=2 17.32 + } 17.33 +} 17.34 + 17.35 +Plugin { 17.36 + type = menu 17.37 + Config { 17.38 + image=/usr/share/pixmaps/slitaz-menu.png 17.39 + system { 17.40 + } 17.41 + separator { 17.42 + } 17.43 + item { 17.44 + command=run 17.45 + } 17.46 + separator { 17.47 + } 17.48 + item { 17.49 + image=gnome-logout 17.50 + command=logout 17.51 + } 17.52 + } 17.53 +} 17.54 + 17.55 +Plugin { 17.56 + type = space 17.57 + Config { 17.58 + Size=2 17.59 + } 17.60 +} 17.61 + 17.62 +Plugin { 17.63 + type = launchbar 17.64 + Config { 17.65 + Button { 17.66 + id=/usr/share/applications/xterm.desktop 17.67 + } 17.68 + Button { 17.69 + id=/usr/share/applications/leafpad.desktop 17.70 + } 17.71 + Button { 17.72 + id=/usr/share/applications/tazweb.desktop 17.73 + } 17.74 + } 17.75 +} 17.76 + 17.77 +Plugin { 17.78 + type = pager 17.79 +} 17.80 + 17.81 +Plugin { 17.82 + type = space 17.83 + Config { 17.84 + Size=4 17.85 + } 17.86 +} 17.87 + 17.88 +Plugin { 17.89 + type = taskbar 17.90 + expand=1 17.91 + Config { 17.92 + tooltips=1 17.93 + IconsOnly=0 17.94 + ShowAllDesks=0 17.95 + UseMouseWheel=1 17.96 + UseUrgencyHint=1 17.97 + FlatButton=1 17.98 + MaxTaskWidth=200 17.99 + spacing=2 17.100 + GroupedTasks=1 17.101 + } 17.102 +} 17.103 + 17.104 +Plugin { 17.105 + type = tray 17.106 +} 17.107 + 17.108 +Plugin { 17.109 + type = space 17.110 + Config { 17.111 + Size=2 17.112 + } 17.113 +} 17.114 + 17.115 +Plugin { 17.116 + type = volumealsa 17.117 +} 17.118 + 17.119 +Plugin { 17.120 + type = space 17.121 + Config { 17.122 + Size=2 17.123 + } 17.124 +} 17.125 + 17.126 +Plugin { 17.127 + type = netstatus 17.128 + Config { 17.129 + iface=wlan0 17.130 + configtool=subox netbox %i 17.131 + } 17.132 +} 17.133 + 17.134 +Plugin { 17.135 + type = space 17.136 + Config { 17.137 + Size=2 17.138 + } 17.139 +} 17.140 + 17.141 +Plugin { 17.142 + type = cpu 17.143 +} 17.144 + 17.145 +Plugin { 17.146 + type = space 17.147 + Config { 17.148 + Size=2 17.149 + } 17.150 +} 17.151 + 17.152 +Plugin { 17.153 + type = dclock 17.154 + Config { 17.155 + ClockFmt=%R 17.156 + TooltipFmt=%A %x - %R 17.157 + BoldFont=1 17.158 + IconOnly=0 17.159 + } 17.160 +} 17.161 + 17.162 +Plugin { 17.163 + type = space 17.164 + Config { 17.165 + Size=2 17.166 + } 17.167 +} 17.168 + 17.169 +Plugin { 17.170 + type = launchbar 17.171 + Config { 17.172 + Button { 17.173 + id=/usr/share/applications/slitaz-logout.desktop 17.174 + } 17.175 + } 17.176 +} 17.177 + 17.178 +Plugin { 17.179 + type = space 17.180 + Config { 17.181 + Size=2 17.182 + } 17.183 +} 17.184 +
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/tank/overlay/etc/php.ini Sat Aug 27 18:30:55 2011 +0000 18.3 @@ -0,0 +1,1340 @@ 18.4 +[PHP] 18.5 + 18.6 +;;;;;;;;;;;;;;;;;;; 18.7 +; About php.ini ; 18.8 +;;;;;;;;;;;;;;;;;;; 18.9 +; This file controls many aspects of PHP's behavior. In order for PHP to 18.10 +; read it, it must be named 'php.ini'. PHP looks for it in the current 18.11 +; working directory, in the path designated by the environment variable 18.12 +; PHPRC, and in the path that was defined in compile time (in that order). 18.13 +; Under Windows, the compile-time path is the Windows directory. The 18.14 +; path in which the php.ini file is looked for can be overridden using 18.15 +; the -c argument in command line mode. 18.16 +; 18.17 +; The syntax of the file is extremely simple. Whitespace and Lines 18.18 +; beginning with a semicolon are silently ignored (as you probably guessed). 18.19 +; Section headers (e.g. [Foo]) are also silently ignored, even though 18.20 +; they might mean something in the future. 18.21 +; 18.22 +; Directives are specified using the following syntax: 18.23 +; directive = value 18.24 +; Directive names are *case sensitive* - foo=bar is different from FOO=bar. 18.25 +; 18.26 +; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one 18.27 +; of the INI constants (On, Off, True, False, Yes, No and None) or an expression 18.28 +; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo"). 18.29 +; 18.30 +; Expressions in the INI file are limited to bitwise operators and parentheses: 18.31 +; | bitwise OR 18.32 +; & bitwise AND 18.33 +; ~ bitwise NOT 18.34 +; ! boolean NOT 18.35 +; 18.36 +; Boolean flags can be turned on using the values 1, On, True or Yes. 18.37 +; They can be turned off using the values 0, Off, False or No. 18.38 +; 18.39 +; An empty string can be denoted by simply not writing anything after the equal 18.40 +; sign, or by using the None keyword: 18.41 +; 18.42 +; foo = ; sets foo to an empty string 18.43 +; foo = none ; sets foo to an empty string 18.44 +; foo = "none" ; sets foo to the string 'none' 18.45 +; 18.46 +; If you use constants in your value, and these constants belong to a 18.47 +; dynamically loaded extension (either a PHP extension or a Zend extension), 18.48 +; you may only use these constants *after* the line that loads the extension. 18.49 +; 18.50 +; 18.51 +;;;;;;;;;;;;;;;;;;; 18.52 +; About this file ; 18.53 +;;;;;;;;;;;;;;;;;;; 18.54 +; This is the recommended, PHP 5-style version of the php.ini-dist file. It 18.55 +; sets some non standard settings, that make PHP more efficient, more secure, 18.56 +; and encourage cleaner coding. 18.57 +; 18.58 +; The price is that with these settings, PHP may be incompatible with some 18.59 +; applications, and sometimes, more difficult to develop with. Using this 18.60 +; file is warmly recommended for production sites. As all of the changes from 18.61 +; the standard settings are thoroughly documented, you can go over each one, 18.62 +; and decide whether you want to use it or not. 18.63 +; 18.64 +; For general information about the php.ini file, please consult the php.ini-dist 18.65 +; file, included in your PHP distribution. 18.66 +; 18.67 +; This file is different from the php.ini-dist file in the fact that it features 18.68 +; different values for several directives, in order to improve performance, while 18.69 +; possibly breaking compatibility with the standard out-of-the-box behavior of 18.70 +; PHP. Please make sure you read what's different, and modify your scripts 18.71 +; accordingly, if you decide to use this file instead. 18.72 +; 18.73 +; - register_long_arrays = Off [Performance] 18.74 +; Disables registration of the older (and deprecated) long predefined array 18.75 +; variables ($HTTP_*_VARS). Instead, use the superglobals that were 18.76 +; introduced in PHP 4.1.0 18.77 +; - display_errors = Off [Security] 18.78 +; With this directive set to off, errors that occur during the execution of 18.79 +; scripts will no longer be displayed as a part of the script output, and thus, 18.80 +; will no longer be exposed to remote users. With some errors, the error message 18.81 +; content may expose information about your script, web server, or database 18.82 +; server that may be exploitable for hacking. Production sites should have this 18.83 +; directive set to off. 18.84 +; - log_errors = On [Security] 18.85 +; This directive complements the above one. Any errors that occur during the 18.86 +; execution of your script will be logged (typically, to your server's error log, 18.87 +; but can be configured in several ways). Along with setting display_errors to off, 18.88 +; this setup gives you the ability to fully understand what may have gone wrong, 18.89 +; without exposing any sensitive information to remote users. 18.90 +; - output_buffering = 4096 [Performance] 18.91 +; Set a 4KB output buffer. Enabling output buffering typically results in less 18.92 +; writes, and sometimes less packets sent on the wire, which can often lead to 18.93 +; better performance. The gain this directive actually yields greatly depends 18.94 +; on which Web server you're working with, and what kind of scripts you're using. 18.95 +; - register_argc_argv = Off [Performance] 18.96 +; Disables registration of the somewhat redundant $argv and $argc global 18.97 +; variables. 18.98 +; - magic_quotes_gpc = Off [Performance] 18.99 +; Input data is no longer escaped with slashes so that it can be sent into 18.100 +; SQL databases without further manipulation. Instead, you should use the 18.101 +; database vendor specific escape string function on each input element you 18.102 +; wish to send to a database. 18.103 +; - variables_order = "GPCS" [Performance] 18.104 +; The environment variables are not hashed into the $_ENV. To access 18.105 +; environment variables, you can use getenv() instead. 18.106 +; - error_reporting = E_ALL [Code Cleanliness, Security(?)] 18.107 +; By default, PHP suppresses errors of type E_NOTICE. These error messages 18.108 +; are emitted for non-critical errors, but that could be a symptom of a bigger 18.109 +; problem. Most notably, this will cause error messages about the use 18.110 +; of uninitialized variables to be displayed. 18.111 +; - allow_call_time_pass_reference = Off [Code cleanliness] 18.112 +; It's not possible to decide to force a variable to be passed by reference 18.113 +; when calling a function. The PHP 4 style to do this is by making the 18.114 +; function require the relevant argument by reference. 18.115 +; - short_open_tag = Off [Portability] 18.116 +; Using short tags is discouraged when developing code meant for redistribution 18.117 +; since short tags may not be supported on the target server. 18.118 + 18.119 +;;;;;;;;;;;;;;;;;;;; 18.120 +; Language Options ; 18.121 +;;;;;;;;;;;;;;;;;;;; 18.122 + 18.123 +; Enable the PHP scripting language engine under Apache. 18.124 +engine = On 18.125 + 18.126 +; Enable compatibility mode with Zend Engine 1 (PHP 4.x) 18.127 +zend.ze1_compatibility_mode = Off 18.128 + 18.129 +; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. 18.130 +; NOTE: Using short tags should be avoided when developing applications or 18.131 +; libraries that are meant for redistribution, or deployment on PHP 18.132 +; servers which are not under your control, because short tags may not 18.133 +; be supported on the target server. For portable, redistributable code, 18.134 +; be sure not to use short tags. 18.135 +short_open_tag = Off 18.136 + 18.137 +; Allow ASP-style <% %> tags. 18.138 +asp_tags = Off 18.139 + 18.140 +; The number of significant digits displayed in floating point numbers. 18.141 +precision = 14 18.142 + 18.143 +; Enforce year 2000 compliance (will cause problems with non-compliant browsers) 18.144 +y2k_compliance = On 18.145 + 18.146 +; Output buffering allows you to send header lines (including cookies) even 18.147 +; after you send body content, at the price of slowing PHP's output layer a 18.148 +; bit. You can enable output buffering during runtime by calling the output 18.149 +; buffering functions. You can also enable output buffering for all files by 18.150 +; setting this directive to On. If you wish to limit the size of the buffer 18.151 +; to a certain size - you can use a maximum number of bytes instead of 'On', as 18.152 +; a value for this directive (e.g., output_buffering=4096). 18.153 +output_buffering = 4096 18.154 + 18.155 +; You can redirect all of the output of your scripts to a function. For 18.156 +; example, if you set output_handler to "mb_output_handler", character 18.157 +; encoding will be transparently converted to the specified encoding. 18.158 +; Setting any output handler automatically turns on output buffering. 18.159 +; Note: People who wrote portable scripts should not depend on this ini 18.160 +; directive. Instead, explicitly set the output handler using ob_start(). 18.161 +; Using this ini directive may cause problems unless you know what script 18.162 +; is doing. 18.163 +; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler" 18.164 +; and you cannot use both "ob_gzhandler" and "zlib.output_compression". 18.165 +; Note: output_handler must be empty if this is set 'On' !!!! 18.166 +; Instead you must use zlib.output_handler. 18.167 +;output_handler = 18.168 + 18.169 +; Transparent output compression using the zlib library 18.170 +; Valid values for this option are 'off', 'on', or a specific buffer size 18.171 +; to be used for compression (default is 4KB) 18.172 +; Note: Resulting chunk size may vary due to nature of compression. PHP 18.173 +; outputs chunks that are few hundreds bytes each as a result of 18.174 +; compression. If you prefer a larger chunk size for better 18.175 +; performance, enable output_buffering in addition. 18.176 +; Note: You need to use zlib.output_handler instead of the standard 18.177 +; output_handler, or otherwise the output will be corrupted. 18.178 +zlib.output_compression = Off 18.179 +;zlib.output_compression_level = -1 18.180 + 18.181 +; You cannot specify additional output handlers if zlib.output_compression 18.182 +; is activated here. This setting does the same as output_handler but in 18.183 +; a different order. 18.184 +;zlib.output_handler = 18.185 + 18.186 +; Implicit flush tells PHP to tell the output layer to flush itself 18.187 +; automatically after every output block. This is equivalent to calling the 18.188 +; PHP function flush() after each and every call to print() or echo() and each 18.189 +; and every HTML block. Turning this option on has serious performance 18.190 +; implications and is generally recommended for debugging purposes only. 18.191 +implicit_flush = Off 18.192 + 18.193 +; The unserialize callback function will be called (with the undefined class' 18.194 +; name as parameter), if the unserializer finds an undefined class 18.195 +; which should be instantiated. 18.196 +; A warning appears if the specified function is not defined, or if the 18.197 +; function doesn't include/implement the missing class. 18.198 +; So only set this entry, if you really want to implement such a 18.199 +; callback-function. 18.200 +unserialize_callback_func= 18.201 + 18.202 +; When floats & doubles are serialized store serialize_precision significant 18.203 +; digits after the floating point. The default value ensures that when floats 18.204 +; are decoded with unserialize, the data will remain the same. 18.205 +serialize_precision = 100 18.206 + 18.207 +; Whether to enable the ability to force arguments to be passed by reference 18.208 +; at function call time. This method is deprecated and is likely to be 18.209 +; unsupported in future versions of PHP/Zend. The encouraged method of 18.210 +; specifying which arguments should be passed by reference is in the function 18.211 +; declaration. You're encouraged to try and turn this option Off and make 18.212 +; sure your scripts work properly with it in order to ensure they will work 18.213 +; with future versions of the language (you will receive a warning each time 18.214 +; you use this feature, and the argument will be passed by value instead of by 18.215 +; reference). 18.216 +allow_call_time_pass_reference = Off 18.217 + 18.218 +; 18.219 +; Safe Mode 18.220 +; 18.221 +safe_mode = Off 18.222 + 18.223 +; By default, Safe Mode does a UID compare check when 18.224 +; opening files. If you want to relax this to a GID compare, 18.225 +; then turn on safe_mode_gid. 18.226 +safe_mode_gid = Off 18.227 + 18.228 +; When safe_mode is on, UID/GID checks are bypassed when 18.229 +; including files from this directory and its subdirectories. 18.230 +; (directory must also be in include_path or full path must 18.231 +; be used when including) 18.232 +safe_mode_include_dir = 18.233 + 18.234 +; When safe_mode is on, only executables located in the safe_mode_exec_dir 18.235 +; will be allowed to be executed via the exec family of functions. 18.236 +safe_mode_exec_dir = 18.237 + 18.238 +; Setting certain environment variables may be a potential security breach. 18.239 +; This directive contains a comma-delimited list of prefixes. In Safe Mode, 18.240 +; the user may only alter environment variables whose names begin with the 18.241 +; prefixes supplied here. By default, users will only be able to set 18.242 +; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). 18.243 +; 18.244 +; Note: If this directive is empty, PHP will let the user modify ANY 18.245 +; environment variable! 18.246 +safe_mode_allowed_env_vars = PHP_ 18.247 + 18.248 +; This directive contains a comma-delimited list of environment variables that 18.249 +; the end user won't be able to change using putenv(). These variables will be 18.250 +; protected even if safe_mode_allowed_env_vars is set to allow to change them. 18.251 +safe_mode_protected_env_vars = LD_LIBRARY_PATH 18.252 + 18.253 +; open_basedir, if set, limits all file operations to the defined directory 18.254 +; and below. This directive makes most sense if used in a per-directory 18.255 +; or per-virtualhost web server configuration file. This directive is 18.256 +; *NOT* affected by whether Safe Mode is turned On or Off. 18.257 +;open_basedir = 18.258 + 18.259 +; This directive allows you to disable certain functions for security reasons. 18.260 +; It receives a comma-delimited list of function names. This directive is 18.261 +; *NOT* affected by whether Safe Mode is turned On or Off. 18.262 +disable_functions = 18.263 + 18.264 +; This directive allows you to disable certain classes for security reasons. 18.265 +; It receives a comma-delimited list of class names. This directive is 18.266 +; *NOT* affected by whether Safe Mode is turned On or Off. 18.267 +disable_classes = 18.268 + 18.269 +; Colors for Syntax Highlighting mode. Anything that's acceptable in 18.270 +; <span style="color: ???????"> would work. 18.271 +;highlight.string = #DD0000 18.272 +;highlight.comment = #FF9900 18.273 +;highlight.keyword = #007700 18.274 +;highlight.bg = #FFFFFF 18.275 +;highlight.default = #0000BB 18.276 +;highlight.html = #000000 18.277 + 18.278 +; If enabled, the request will be allowed to complete even if the user aborts 18.279 +; the request. Consider enabling it if executing long request, which may end up 18.280 +; being interrupted by the user or a browser timing out. 18.281 +; ignore_user_abort = On 18.282 + 18.283 +; Determines the size of the realpath cache to be used by PHP. This value should 18.284 +; be increased on systems where PHP opens many files to reflect the quantity of 18.285 +; the file operations performed. 18.286 +; realpath_cache_size=16k 18.287 + 18.288 +; Duration of time, in seconds for which to cache realpath information for a given 18.289 +; file or directory. For systems with rarely changing files, consider increasing this 18.290 +; value. 18.291 +; realpath_cache_ttl=120 18.292 + 18.293 +; 18.294 +; Misc 18.295 +; 18.296 +; Decides whether PHP may expose the fact that it is installed on the server 18.297 +; (e.g. by adding its signature to the Web server header). It is no security 18.298 +; threat in any way, but it makes it possible to determine whether you use PHP 18.299 +; on your server or not. 18.300 +expose_php = Off 18.301 + 18.302 + 18.303 +;;;;;;;;;;;;;;;;;;; 18.304 +; Resource Limits ; 18.305 +;;;;;;;;;;;;;;;;;;; 18.306 + 18.307 +max_execution_time = 30 ; Maximum execution time of each script, in seconds 18.308 +max_input_time = 60 ; Maximum amount of time each script may spend parsing request data 18.309 +;max_input_nesting_level = 64 ; Maximum input variable nesting level 18.310 +memory_limit = 32M ; Maximum amount of memory a script may consume (128MB) 18.311 + 18.312 + 18.313 +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 18.314 +; Error handling and logging ; 18.315 +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 18.316 + 18.317 +; error_reporting is a bit-field. Or each number up to get desired error 18.318 +; reporting level 18.319 +; E_ALL - All errors and warnings (doesn't include E_STRICT) 18.320 +; E_ERROR - fatal run-time errors 18.321 +; E_RECOVERABLE_ERROR - almost fatal run-time errors 18.322 +; E_WARNING - run-time warnings (non-fatal errors) 18.323 +; E_PARSE - compile-time parse errors 18.324 +; E_NOTICE - run-time notices (these are warnings which often result 18.325 +; from a bug in your code, but it's possible that it was 18.326 +; intentional (e.g., using an uninitialized variable and 18.327 +; relying on the fact it's automatically initialized to an 18.328 +; empty string) 18.329 +; E_STRICT - run-time notices, enable to have PHP suggest changes 18.330 +; to your code which will ensure the best interoperability 18.331 +; and forward compatibility of your code 18.332 +; E_CORE_ERROR - fatal errors that occur during PHP's initial startup 18.333 +; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's 18.334 +; initial startup 18.335 +; E_COMPILE_ERROR - fatal compile-time errors 18.336 +; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) 18.337 +; E_USER_ERROR - user-generated error message 18.338 +; E_USER_WARNING - user-generated warning message 18.339 +; E_USER_NOTICE - user-generated notice message 18.340 +; 18.341 +; Examples: 18.342 +; 18.343 +; - Show all errors, except for notices and coding standards warnings 18.344 +; 18.345 +;error_reporting = E_ALL & ~E_NOTICE 18.346 +; 18.347 +; - Show all errors, except for notices 18.348 +; 18.349 +;error_reporting = E_ALL & ~E_NOTICE | E_STRICT 18.350 +; 18.351 +; - Show only errors 18.352 +; 18.353 +;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR 18.354 +; 18.355 +; - Show all errors, except coding standards warnings 18.356 +; 18.357 +error_reporting = E_ALL 18.358 + 18.359 +; Print out errors (as a part of the output). For production web sites, 18.360 +; you're strongly encouraged to turn this feature off, and use error logging 18.361 +; instead (see below). Keeping display_errors enabled on a production web site 18.362 +; may reveal security information to end users, such as file paths on your Web 18.363 +; server, your database schema or other information. 18.364 +; 18.365 +; possible values for display_errors: 18.366 +; 18.367 +; Off - Do not display any errors 18.368 +; stderr - Display errors to STDERR (affects only CGI/CLI binaries!) 18.369 +; On or stdout - Display errors to STDOUT (default) 18.370 +; 18.371 +; To output errors to STDERR with CGI/CLI: 18.372 +;display_errors = "stderr" 18.373 +; 18.374 +; Default 18.375 +; 18.376 +display_errors = Off 18.377 + 18.378 +; Even when display_errors is on, errors that occur during PHP's startup 18.379 +; sequence are not displayed. It's strongly recommended to keep 18.380 +; display_startup_errors off, except for when debugging. 18.381 +display_startup_errors = Off 18.382 + 18.383 +; Log errors into a log file (server-specific log, stderr, or error_log (below)) 18.384 +; As stated above, you're strongly advised to use error logging in place of 18.385 +; error displaying on production web sites. 18.386 +log_errors = On 18.387 + 18.388 +; Set maximum length of log_errors. In error_log information about the source is 18.389 +; added. The default is 1024 and 0 allows to not apply any maximum length at all. 18.390 +log_errors_max_len = 1024 18.391 + 18.392 +; Do not log repeated messages. Repeated errors must occur in same file on same 18.393 +; line unless ignore_repeated_source is set true. 18.394 +ignore_repeated_errors = Off 18.395 + 18.396 +; Ignore source of message when ignoring repeated messages. When this setting 18.397 +; is On you will not log errors with repeated messages from different files or 18.398 +; source lines. 18.399 +ignore_repeated_source = Off 18.400 + 18.401 +; If this parameter is set to Off, then memory leaks will not be shown (on 18.402 +; stdout or in the log). This has only effect in a debug compile, and if 18.403 +; error reporting includes E_WARNING in the allowed list 18.404 +report_memleaks = On 18.405 + 18.406 +;report_zend_debug = 0 18.407 + 18.408 +; Store the last error/warning message in $php_errormsg (boolean). 18.409 +track_errors = Off 18.410 + 18.411 +; Turn off normal error reporting and emit XML-RPC error XML 18.412 +;xmlrpc_errors = 0 18.413 +; An XML-RPC faultCode 18.414 +;xmlrpc_error_number = 0 18.415 + 18.416 +; Disable the inclusion of HTML tags in error messages. 18.417 +; Note: Never use this feature for production boxes. 18.418 +;html_errors = Off 18.419 + 18.420 +; If html_errors is set On PHP produces clickable error messages that direct 18.421 +; to a page describing the error or function causing the error in detail. 18.422 +; You can download a copy of the PHP manual from http://www.php.net/docs.php 18.423 +; and change docref_root to the base URL of your local copy including the 18.424 +; leading '/'. You must also specify the file extension being used including 18.425 +; the dot. 18.426 +; Note: Never use this feature for production boxes. 18.427 +;docref_root = "/phpmanual/" 18.428 +;docref_ext = .html 18.429 + 18.430 +; String to output before an error message. 18.431 +;error_prepend_string = "<font color=#ff0000>" 18.432 + 18.433 +; String to output after an error message. 18.434 +;error_append_string = "</font>" 18.435 + 18.436 +; Log errors to specified file. 18.437 +;error_log = filename 18.438 + 18.439 +; Log errors to syslog (Event Log on NT, not valid in Windows 95). 18.440 +;error_log = syslog 18.441 + 18.442 + 18.443 +;;;;;;;;;;;;;;;;; 18.444 +; Data Handling ; 18.445 +;;;;;;;;;;;;;;;;; 18.446 +; 18.447 +; Note - track_vars is ALWAYS enabled as of PHP 4.0.3 18.448 + 18.449 +; The separator used in PHP generated URLs to separate arguments. 18.450 +; Default is "&". 18.451 +;arg_separator.output = "&" 18.452 + 18.453 +; List of separator(s) used by PHP to parse input URLs into variables. 18.454 +; Default is "&". 18.455 +; NOTE: Every character in this directive is considered as separator! 18.456 +;arg_separator.input = ";&" 18.457 + 18.458 +; This directive describes the order in which PHP registers GET, POST, Cookie, 18.459 +; Environment and Built-in variables (G, P, C, E & S respectively, often 18.460 +; referred to as EGPCS or GPC). Registration is done from left to right, newer 18.461 +; values override older values. 18.462 +variables_order = "GPCS" 18.463 + 18.464 +; Whether or not to register the EGPCS variables as global variables. You may 18.465 +; want to turn this off if you don't want to clutter your scripts' global scope 18.466 +; with user data. This makes most sense when coupled with track_vars - in which 18.467 +; case you can access all of the GPC variables through the $HTTP_*_VARS[], 18.468 +; variables. 18.469 +; 18.470 +; You should do your best to write your scripts so that they do not require 18.471 +; register_globals to be on; Using form variables as globals can easily lead 18.472 +; to possible security problems, if the code is not very well thought of. 18.473 +register_globals = Off 18.474 + 18.475 +; Whether or not to register the old-style input arrays, HTTP_GET_VARS 18.476 +; and friends. If you're not using them, it's recommended to turn them off, 18.477 +; for performance reasons. 18.478 +register_long_arrays = Off 18.479 + 18.480 +; This directive tells PHP whether to declare the argv&argc variables (that 18.481 +; would contain the GET information). If you don't use these variables, you 18.482 +; should turn it off for increased performance. 18.483 +register_argc_argv = Off 18.484 + 18.485 +; When enabled, the SERVER and ENV variables are created when they're first 18.486 +; used (Just In Time) instead of when the script starts. If these variables 18.487 +; are not used within a script, having this directive on will result in a 18.488 +; performance gain. The PHP directives register_globals, register_long_arrays, 18.489 +; and register_argc_argv must be disabled for this directive to have any affect. 18.490 +auto_globals_jit = On 18.491 + 18.492 +; Maximum size of POST data that PHP will accept. 18.493 +post_max_size = 8M 18.494 + 18.495 +; Magic quotes 18.496 +; 18.497 + 18.498 +; Magic quotes for incoming GET/POST/Cookie data. 18.499 +magic_quotes_gpc = Off 18.500 + 18.501 +; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. 18.502 +magic_quotes_runtime = Off 18.503 + 18.504 +; Use Sybase-style magic quotes (escape ' with '' instead of \'). 18.505 +magic_quotes_sybase = Off 18.506 + 18.507 +; Automatically add files before or after any PHP document. 18.508 +auto_prepend_file = 18.509 +auto_append_file = 18.510 + 18.511 +; As of 4.0b4, PHP always outputs a character encoding by default in 18.512 +; the Content-type: header. To disable sending of the charset, simply 18.513 +; set it to be empty. 18.514 +; 18.515 +; PHP's built-in default is text/html 18.516 +default_mimetype = "text/html" 18.517 +;default_charset = "iso-8859-1" 18.518 + 18.519 +; Always populate the $HTTP_RAW_POST_DATA variable. 18.520 +;always_populate_raw_post_data = On 18.521 + 18.522 + 18.523 +;;;;;;;;;;;;;;;;;;;;;;;;; 18.524 +; Paths and Directories ; 18.525 +;;;;;;;;;;;;;;;;;;;;;;;;; 18.526 + 18.527 +; UNIX: "/path1:/path2" 18.528 +;include_path = ".:/php/includes" 18.529 +; 18.530 +; Windows: "\path1;\path2" 18.531 +;include_path = ".;c:\php\includes" 18.532 + 18.533 +; The root of the PHP pages, used only if nonempty. 18.534 +; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 18.535 +; if you are running php as a CGI under any web server (other than IIS) 18.536 +; see documentation for security issues. The alternate is to use the 18.537 +; cgi.force_redirect configuration below 18.538 +doc_root = 18.539 + 18.540 +; The directory under which PHP opens the script using /~username used only 18.541 +; if nonempty. 18.542 +user_dir = 18.543 + 18.544 +; Directory in which the loadable extensions (modules) reside. 18.545 +extension_dir = "/usr/share/php/" 18.546 + 18.547 +; Whether or not to enable the dl() function. The dl() function does NOT work 18.548 +; properly in multithreaded servers, such as IIS or Zeus, and is automatically 18.549 +; disabled on them. 18.550 +enable_dl = On 18.551 + 18.552 +; cgi.force_redirect is necessary to provide security running PHP as a CGI under 18.553 +; most web servers. Left undefined, PHP turns this on by default. You can 18.554 +; turn it off here AT YOUR OWN RISK 18.555 +; **You CAN safely turn this off for IIS, in fact, you MUST.** 18.556 +; cgi.force_redirect = 1 18.557 + 18.558 +; if cgi.nph is enabled it will force cgi to always sent Status: 200 with 18.559 +; every request. 18.560 +; cgi.nph = 1 18.561 + 18.562 +; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 18.563 +; (iPlanet) web servers, you MAY need to set an environment variable name that PHP 18.564 +; will look for to know it is OK to continue execution. Setting this variable MAY 18.565 +; cause security issues, KNOW WHAT YOU ARE DOING FIRST. 18.566 +; cgi.redirect_status_env = ; 18.567 + 18.568 +; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's 18.569 +; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok 18.570 +; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting 18.571 +; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting 18.572 +; of zero causes PHP to behave as before. Default is 1. You should fix your scripts 18.573 +; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 18.574 +; cgi.fix_pathinfo=1 18.575 + 18.576 +; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 18.577 +; security tokens of the calling client. This allows IIS to define the 18.578 +; security context that the request runs under. mod_fastcgi under Apache 18.579 +; does not currently support this feature (03/17/2002) 18.580 +; Set to 1 if running under IIS. Default is zero. 18.581 +; fastcgi.impersonate = 1; 18.582 + 18.583 +; Disable logging through FastCGI connection 18.584 +; fastcgi.logging = 0 18.585 + 18.586 +; cgi.rfc2616_headers configuration option tells PHP what type of headers to 18.587 +; use when sending HTTP response code. If it's set 0 PHP sends Status: header that 18.588 +; is supported by Apache. When this option is set to 1 PHP will send 18.589 +; RFC2616 compliant header. 18.590 +; Default is zero. 18.591 +;cgi.rfc2616_headers = 0 18.592 + 18.593 + 18.594 +;;;;;;;;;;;;;;;; 18.595 +; File Uploads ; 18.596 +;;;;;;;;;;;;;;;; 18.597 + 18.598 +; Whether to allow HTTP file uploads. 18.599 +file_uploads = On 18.600 + 18.601 +; Temporary directory for HTTP uploaded files (will use system default if not 18.602 +; specified). 18.603 +;upload_tmp_dir = 18.604 + 18.605 +; Maximum allowed size for uploaded files. 18.606 +upload_max_filesize = 2M 18.607 + 18.608 + 18.609 +;;;;;;;;;;;;;;;;;; 18.610 +; Fopen wrappers ; 18.611 +;;;;;;;;;;;;;;;;;; 18.612 + 18.613 +; Whether to allow the treatment of URLs (like http:// or ftp://) as files. 18.614 +allow_url_fopen = On 18.615 + 18.616 +; Whether to allow include/require to open URLs (like http:// or ftp://) as files. 18.617 +allow_url_include = Off 18.618 + 18.619 +; Define the anonymous ftp password (your email address) 18.620 +;from="john@doe.com" 18.621 + 18.622 +; Define the User-Agent string 18.623 +; user_agent="PHP" 18.624 + 18.625 +; Default timeout for socket based streams (seconds) 18.626 +default_socket_timeout = 60 18.627 + 18.628 +; If your scripts have to deal with files from Macintosh systems, 18.629 +; or you are running on a Mac and need to deal with files from 18.630 +; unix or win32 systems, setting this flag will cause PHP to 18.631 +; automatically detect the EOL character in those files so that 18.632 +; fgets() and file() will work regardless of the source of the file. 18.633 +; auto_detect_line_endings = Off 18.634 + 18.635 + 18.636 +;;;;;;;;;;;;;;;;;;;;;; 18.637 +; Dynamic Extensions ; 18.638 +;;;;;;;;;;;;;;;;;;;;;; 18.639 +; 18.640 +; If you wish to have an extension loaded automatically, use the following 18.641 +; syntax: 18.642 +; 18.643 +; extension=modulename.extension 18.644 +; 18.645 +; For example, on Windows: 18.646 +; 18.647 +; extension=msql.dll 18.648 +; 18.649 +; ... or under UNIX: 18.650 +; 18.651 +; extension=msql.so 18.652 +extension=gd.so 18.653 +extension=pdo_mysql.so 18.654 +extension=mysql.so 18.655 +; 18.656 +; Note that it should be the name of the module only; no directory information 18.657 +; needs to go here. Specify the location of the extension with the 18.658 +; extension_dir directive above. 18.659 + 18.660 + 18.661 +; Windows Extensions 18.662 +; Note that ODBC support is built in, so no dll is needed for it. 18.663 +; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5) 18.664 +; extension folders as well as the separate PECL DLL download (PHP 5). 18.665 +; Be sure to appropriately set the extension_dir directive. 18.666 + 18.667 +;extension=php_bz2.dll 18.668 +;extension=php_curl.dll 18.669 +;extension=php_dba.dll 18.670 +;extension=php_dbase.dll 18.671 +;extension=php_exif.dll 18.672 +;extension=php_fdf.dll 18.673 +;extension=php_gd2.dll 18.674 +;extension=php_gettext.dll 18.675 +;extension=php_gmp.dll 18.676 +;extension=php_ifx.dll 18.677 +;extension=php_imap.dll 18.678 +;extension=php_interbase.dll 18.679 +;extension=php_ldap.dll 18.680 +;extension=php_mbstring.dll 18.681 +;extension=php_mcrypt.dll 18.682 +;extension=php_mhash.dll 18.683 +;extension=php_mime_magic.dll 18.684 +;extension=php_ming.dll 18.685 +;extension=php_msql.dll 18.686 +;extension=php_mssql.dll 18.687 +;extension=php_mysql.dll 18.688 +;extension=php_mysqli.dll 18.689 +;extension=php_oci8.dll 18.690 +;extension=php_openssl.dll 18.691 +;extension=php_pdo.dll 18.692 +;extension=php_pdo_firebird.dll 18.693 +;extension=php_pdo_mssql.dll 18.694 +;extension=php_pdo_mysql.dll 18.695 +;extension=php_pdo_oci.dll 18.696 +;extension=php_pdo_oci8.dll 18.697 +;extension=php_pdo_odbc.dll 18.698 +;extension=php_pdo_pgsql.dll 18.699 +;extension=php_pdo_sqlite.dll 18.700 +;extension=php_pgsql.dll 18.701 +;extension=php_pspell.dll 18.702 +;extension=php_shmop.dll 18.703 +;extension=php_snmp.dll 18.704 +;extension=php_soap.dll 18.705 +;extension=php_sockets.dll 18.706 +;extension=php_sqlite.dll 18.707 +;extension=php_sybase_ct.dll 18.708 +;extension=php_tidy.dll 18.709 +;extension=php_xmlrpc.dll 18.710 +;extension=php_xsl.dll 18.711 +;extension=php_zip.dll 18.712 + 18.713 +;;;;;;;;;;;;;;;;;;; 18.714 +; Module Settings ; 18.715 +;;;;;;;;;;;;;;;;;;; 18.716 + 18.717 +[Date] 18.718 +; Defines the default timezone used by the date functions 18.719 +;date.timezone = 18.720 + 18.721 +;date.default_latitude = 31.7667 18.722 +;date.default_longitude = 35.2333 18.723 + 18.724 +;date.sunrise_zenith = 90.583333 18.725 +;date.sunset_zenith = 90.583333 18.726 + 18.727 +[filter] 18.728 +;filter.default = unsafe_raw 18.729 +;filter.default_flags = 18.730 + 18.731 +[iconv] 18.732 +;iconv.input_encoding = ISO-8859-1 18.733 +;iconv.internal_encoding = ISO-8859-1 18.734 +;iconv.output_encoding = ISO-8859-1 18.735 + 18.736 +[sqlite] 18.737 +;sqlite.assoc_case = 0 18.738 + 18.739 +[Pcre] 18.740 +;PCRE library backtracking limit. 18.741 +;pcre.backtrack_limit=100000 18.742 + 18.743 +;PCRE library recursion limit. 18.744 +;Please note that if you set this value to a high number you may consume all 18.745 +;the available process stack and eventually crash PHP (due to reaching the 18.746 +;stack size limit imposed by the Operating System). 18.747 +;pcre.recursion_limit=100000 18.748 + 18.749 +[Syslog] 18.750 +; Whether or not to define the various syslog variables (e.g. $LOG_PID, 18.751 +; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In 18.752 +; runtime, you can define these variables by calling define_syslog_variables(). 18.753 +define_syslog_variables = Off 18.754 + 18.755 +[mail function] 18.756 +; For Win32 only. 18.757 +SMTP = localhost 18.758 +smtp_port = 25 18.759 + 18.760 +; For Win32 only. 18.761 +;sendmail_from = me@example.com 18.762 + 18.763 +; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). 18.764 +sendmail_path = /usr/sbin/sendmail -t 18.765 + 18.766 +; Force the addition of the specified parameters to be passed as extra parameters 18.767 +; to the sendmail binary. These parameters will always replace the value of 18.768 +; the 5th parameter to mail(), even in safe mode. 18.769 +;mail.force_extra_parameters = 18.770 + 18.771 +[SQL] 18.772 +sql.safe_mode = Off 18.773 + 18.774 +[ODBC] 18.775 +;odbc.default_db = Not yet implemented 18.776 +;odbc.default_user = Not yet implemented 18.777 +;odbc.default_pw = Not yet implemented 18.778 + 18.779 +; Allow or prevent persistent links. 18.780 +odbc.allow_persistent = On 18.781 + 18.782 +; Check that a connection is still valid before reuse. 18.783 +odbc.check_persistent = On 18.784 + 18.785 +; Maximum number of persistent links. -1 means no limit. 18.786 +odbc.max_persistent = -1 18.787 + 18.788 +; Maximum number of links (persistent + non-persistent). -1 means no limit. 18.789 +odbc.max_links = -1 18.790 + 18.791 +; Handling of LONG fields. Returns number of bytes to variables. 0 means 18.792 +; passthru. 18.793 +odbc.defaultlrl = 4096 18.794 + 18.795 +; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. 18.796 +; See the documentation on odbc_binmode and odbc_longreadlen for an explanation 18.797 +; of uodbc.defaultlrl and uodbc.defaultbinmode 18.798 +odbc.defaultbinmode = 1 18.799 + 18.800 +[MySQL] 18.801 +; Allow or prevent persistent links. 18.802 +mysql.allow_persistent = On 18.803 + 18.804 +; Maximum number of persistent links. -1 means no limit. 18.805 +mysql.max_persistent = -1 18.806 + 18.807 +; Maximum number of links (persistent + non-persistent). -1 means no limit. 18.808 +mysql.max_links = -1 18.809 + 18.810 +; Default port number for mysql_connect(). If unset, mysql_connect() will use 18.811 +; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 18.812 +; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 18.813 +; at MYSQL_PORT. 18.814 +mysql.default_port = 18.815 + 18.816 +; Default socket name for local MySQL connects. If empty, uses the built-in 18.817 +; MySQL defaults. 18.818 +mysql.default_socket = 18.819 + 18.820 +; Default host for mysql_connect() (doesn't apply in safe mode). 18.821 +mysql.default_host = 18.822 + 18.823 +; Default user for mysql_connect() (doesn't apply in safe mode). 18.824 +mysql.default_user = 18.825 + 18.826 +; Default password for mysql_connect() (doesn't apply in safe mode). 18.827 +; Note that this is generally a *bad* idea to store passwords in this file. 18.828 +; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password") 18.829 +; and reveal this password! And of course, any users with read access to this 18.830 +; file will be able to reveal the password as well. 18.831 +mysql.default_password = 18.832 + 18.833 +; Maximum time (in seconds) for connect timeout. -1 means no limit 18.834 +mysql.connect_timeout = 60 18.835 + 18.836 +; Trace mode. When trace_mode is active (=On), warnings for table/index scans and 18.837 +; SQL-Errors will be displayed. 18.838 +mysql.trace_mode = Off 18.839 + 18.840 +[MySQLi] 18.841 + 18.842 +; Maximum number of links. -1 means no limit. 18.843 +mysqli.max_links = -1 18.844 + 18.845 +; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 18.846 +; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 18.847 +; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 18.848 +; at MYSQL_PORT. 18.849 +mysqli.default_port = 3306 18.850 + 18.851 +; Default socket name for local MySQL connects. If empty, uses the built-in 18.852 +; MySQL defaults. 18.853 +mysqli.default_socket = 18.854 + 18.855 +; Default host for mysql_connect() (doesn't apply in safe mode). 18.856 +mysqli.default_host = 18.857 + 18.858 +; Default user for mysql_connect() (doesn't apply in safe mode). 18.859 +mysqli.default_user = 18.860 + 18.861 +; Default password for mysqli_connect() (doesn't apply in safe mode). 18.862 +; Note that this is generally a *bad* idea to store passwords in this file. 18.863 +; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") 18.864 +; and reveal this password! And of course, any users with read access to this 18.865 +; file will be able to reveal the password as well. 18.866 +mysqli.default_pw = 18.867 + 18.868 +; Allow or prevent reconnect 18.869 +mysqli.reconnect = Off 18.870 + 18.871 +[mSQL] 18.872 +; Allow or prevent persistent links. 18.873 +msql.allow_persistent = On 18.874 + 18.875 +; Maximum number of persistent links. -1 means no limit. 18.876 +msql.max_persistent = -1 18.877 + 18.878 +; Maximum number of links (persistent+non persistent). -1 means no limit. 18.879 +msql.max_links = -1 18.880 + 18.881 +[OCI8] 18.882 +; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA) 18.883 +;oci8.privileged_connect = Off 18.884 + 18.885 +; Connection: The maximum number of persistent OCI8 connections per 18.886 +; process. Using -1 means no limit. 18.887 +;oci8.max_persistent = -1 18.888 + 18.889 +; Connection: The maximum number of seconds a process is allowed to 18.890 +; maintain an idle persistent connection. Using -1 means idle 18.891 +; persistent connections will be maintained forever. 18.892 +;oci8.persistent_timeout = -1 18.893 + 18.894 +; Connection: The number of seconds that must pass before issuing a 18.895 +; ping during oci_pconnect() to check the connection validity. When 18.896 +; set to 0, each oci_pconnect() will cause a ping. Using -1 disables 18.897 +; pings completely. 18.898 +;oci8.ping_interval = 60 18.899 + 18.900 +; Tuning: This option enables statement caching, and specifies how 18.901 +; many statements to cache. Using 0 disables statement caching. 18.902 +;oci8.statement_cache_size = 20 18.903 + 18.904 +; Tuning: Enables statement prefetching and sets the default number of 18.905 +; rows that will be fetched automatically after statement execution. 18.906 +;oci8.default_prefetch = 10 18.907 + 18.908 +; Compatibility. Using On means oci_close() will not close 18.909 +; oci_connect() and oci_new_connect() connections. 18.910 +;oci8.old_oci_close_semantics = Off 18.911 + 18.912 +[PostgresSQL] 18.913 +; Allow or prevent persistent links. 18.914 +pgsql.allow_persistent = On 18.915 + 18.916 +; Detect broken persistent links always with pg_pconnect(). 18.917 +; Auto reset feature requires a little overheads. 18.918 +pgsql.auto_reset_persistent = Off 18.919 + 18.920 +; Maximum number of persistent links. -1 means no limit. 18.921 +pgsql.max_persistent = -1 18.922 + 18.923 +; Maximum number of links (persistent+non persistent). -1 means no limit. 18.924 +pgsql.max_links = -1 18.925 + 18.926 +; Ignore PostgreSQL backends Notice message or not. 18.927 +; Notice message logging require a little overheads. 18.928 +pgsql.ignore_notice = 0 18.929 + 18.930 +; Log PostgreSQL backends Notice message or not. 18.931 +; Unless pgsql.ignore_notice=0, module cannot log notice message. 18.932 +pgsql.log_notice = 0 18.933 + 18.934 +[Sybase] 18.935 +; Allow or prevent persistent links. 18.936 +sybase.allow_persistent = On 18.937 + 18.938 +; Maximum number of persistent links. -1 means no limit. 18.939 +sybase.max_persistent = -1 18.940 + 18.941 +; Maximum number of links (persistent + non-persistent). -1 means no limit. 18.942 +sybase.max_links = -1 18.943 + 18.944 +;sybase.interface_file = "/usr/sybase/interfaces" 18.945 + 18.946 +; Minimum error severity to display. 18.947 +sybase.min_error_severity = 10 18.948 + 18.949 +; Minimum message severity to display. 18.950 +sybase.min_message_severity = 10 18.951 + 18.952 +; Compatibility mode with old versions of PHP 3.0. 18.953 +; If on, this will cause PHP to automatically assign types to results according 18.954 +; to their Sybase type, instead of treating them all as strings. This 18.955 +; compatibility mode will probably not stay around forever, so try applying 18.956 +; whatever necessary changes to your code, and turn it off. 18.957 +sybase.compatability_mode = Off 18.958 + 18.959 +[Sybase-CT] 18.960 +; Allow or prevent persistent links. 18.961 +sybct.allow_persistent = On 18.962 + 18.963 +; Maximum number of persistent links. -1 means no limit. 18.964 +sybct.max_persistent = -1 18.965 + 18.966 +; Maximum number of links (persistent + non-persistent). -1 means no limit. 18.967 +sybct.max_links = -1 18.968 + 18.969 +; Minimum server message severity to display. 18.970 +sybct.min_server_severity = 10 18.971 + 18.972 +; Minimum client message severity to display. 18.973 +sybct.min_client_severity = 10 18.974 + 18.975 +[bcmath] 18.976 +; Number of decimal digits for all bcmath functions. 18.977 +bcmath.scale = 0 18.978 + 18.979 +[browscap] 18.980 +;browscap = extra/browscap.ini 18.981 + 18.982 +[Informix] 18.983 +; Default host for ifx_connect() (doesn't apply in safe mode). 18.984 +ifx.default_host = 18.985 + 18.986 +; Default user for ifx_connect() (doesn't apply in safe mode). 18.987 +ifx.default_user = 18.988 + 18.989 +; Default password for ifx_connect() (doesn't apply in safe mode). 18.990 +ifx.default_password = 18.991 + 18.992 +; Allow or prevent persistent links. 18.993 +ifx.allow_persistent = On 18.994 + 18.995 +; Maximum number of persistent links. -1 means no limit. 18.996 +ifx.max_persistent = -1 18.997 + 18.998 +; Maximum number of links (persistent + non-persistent). -1 means no limit. 18.999 +ifx.max_links = -1 18.1000 + 18.1001 +; If on, select statements return the contents of a text blob instead of its id. 18.1002 +ifx.textasvarchar = 0 18.1003 + 18.1004 +; If on, select statements return the contents of a byte blob instead of its id. 18.1005 +ifx.byteasvarchar = 0 18.1006 + 18.1007 +; Trailing blanks are stripped from fixed-length char columns. May help the 18.1008 +; life of Informix SE users. 18.1009 +ifx.charasvarchar = 0 18.1010 + 18.1011 +; If on, the contents of text and byte blobs are dumped to a file instead of 18.1012 +; keeping them in memory. 18.1013 +ifx.blobinfile = 0 18.1014 + 18.1015 +; NULL's are returned as empty strings, unless this is set to 1. In that case, 18.1016 +; NULL's are returned as string 'NULL'. 18.1017 +ifx.nullformat = 0 18.1018 + 18.1019 +[Session] 18.1020 +; Handler used to store/retrieve data. 18.1021 +session.save_handler = files 18.1022 + 18.1023 +; Argument passed to save_handler. In the case of files, this is the path 18.1024 +; where data files are stored. Note: Windows users have to change this 18.1025 +; variable in order to use PHP's session functions. 18.1026 +; 18.1027 +; As of PHP 4.0.1, you can define the path as: 18.1028 +; 18.1029 +; session.save_path = "N;/path" 18.1030 +; 18.1031 +; where N is an integer. Instead of storing all the session files in 18.1032 +; /path, what this will do is use subdirectories N-levels deep, and 18.1033 +; store the session data in those directories. This is useful if you 18.1034 +; or your OS have problems with lots of files in one directory, and is 18.1035 +; a more efficient layout for servers that handle lots of sessions. 18.1036 +; 18.1037 +; NOTE 1: PHP will not create this directory structure automatically. 18.1038 +; You can use the script in the ext/session dir for that purpose. 18.1039 +; NOTE 2: See the section on garbage collection below if you choose to 18.1040 +; use subdirectories for session storage 18.1041 +; 18.1042 +; The file storage module creates files using mode 600 by default. 18.1043 +; You can change that by using 18.1044 +; 18.1045 +; session.save_path = "N;MODE;/path" 18.1046 +; 18.1047 +; where MODE is the octal representation of the mode. Note that this 18.1048 +; does not overwrite the process's umask. 18.1049 +;session.save_path = "/tmp" 18.1050 + 18.1051 +; Whether to use cookies. 18.1052 +session.use_cookies = 1 18.1053 + 18.1054 +;session.cookie_secure = 18.1055 + 18.1056 +; This option enables administrators to make their users invulnerable to 18.1057 +; attacks which involve passing session ids in URLs; defaults to 0. 18.1058 +; session.use_only_cookies = 1 18.1059 + 18.1060 +; Name of the session (used as cookie name). 18.1061 +session.name = PHPSESSID 18.1062 + 18.1063 +; Initialize session on request startup. 18.1064 +session.auto_start = 0 18.1065 + 18.1066 +; Lifetime in seconds of cookie or, if 0, until browser is restarted. 18.1067 +session.cookie_lifetime = 0 18.1068 + 18.1069 +; The path for which the cookie is valid. 18.1070 +session.cookie_path = / 18.1071 + 18.1072 +; The domain for which the cookie is valid. 18.1073 +session.cookie_domain = 18.1074 + 18.1075 +; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. 18.1076 +session.cookie_httponly = 18.1077 + 18.1078 +; Handler used to serialize data. php is the standard serializer of PHP. 18.1079 +session.serialize_handler = php 18.1080 + 18.1081 +; Define the probability that the 'garbage collection' process is started 18.1082 +; on every session initialization. 18.1083 +; The probability is calculated by using gc_probability/gc_divisor, 18.1084 +; e.g. 1/100 means there is a 1% chance that the GC process starts 18.1085 +; on each request. 18.1086 + 18.1087 +session.gc_probability = 1 18.1088 +session.gc_divisor = 1000 18.1089 + 18.1090 +; After this number of seconds, stored data will be seen as 'garbage' and 18.1091 +; cleaned up by the garbage collection process. 18.1092 +session.gc_maxlifetime = 1440 18.1093 + 18.1094 +; NOTE: If you are using the subdirectory option for storing session files 18.1095 +; (see session.save_path above), then garbage collection does *not* 18.1096 +; happen automatically. You will need to do your own garbage 18.1097 +; collection through a shell script, cron entry, or some other method. 18.1098 +; For example, the following script would is the equivalent of 18.1099 +; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): 18.1100 +; cd /path/to/sessions; find -cmin +24 | xargs rm 18.1101 + 18.1102 +; PHP 4.2 and less have an undocumented feature/bug that allows you to 18.1103 +; to initialize a session variable in the global scope, albeit register_globals 18.1104 +; is disabled. PHP 4.3 and later will warn you, if this feature is used. 18.1105 +; You can disable the feature and the warning separately. At this time, 18.1106 +; the warning is only displayed, if bug_compat_42 is enabled. 18.1107 + 18.1108 +session.bug_compat_42 = 0 18.1109 +session.bug_compat_warn = 1 18.1110 + 18.1111 +; Check HTTP Referer to invalidate externally stored URLs containing ids. 18.1112 +; HTTP_REFERER has to contain this substring for the session to be 18.1113 +; considered as valid. 18.1114 +session.referer_check = 18.1115 + 18.1116 +; How many bytes to read from the file. 18.1117 +session.entropy_length = 0 18.1118 + 18.1119 +; Specified here to create the session id. 18.1120 +session.entropy_file = 18.1121 + 18.1122 +;session.entropy_length = 16 18.1123 + 18.1124 +;session.entropy_file = /dev/urandom 18.1125 + 18.1126 +; Set to {nocache,private,public,} to determine HTTP caching aspects 18.1127 +; or leave this empty to avoid sending anti-caching headers. 18.1128 +session.cache_limiter = nocache 18.1129 + 18.1130 +; Document expires after n minutes. 18.1131 +session.cache_expire = 180 18.1132 + 18.1133 +; trans sid support is disabled by default. 18.1134 +; Use of trans sid may risk your users security. 18.1135 +; Use this option with caution. 18.1136 +; - User may send URL contains active session ID 18.1137 +; to other person via. email/irc/etc. 18.1138 +; - URL that contains active session ID may be stored 18.1139 +; in publically accessible computer. 18.1140 +; - User may access your site with the same session ID 18.1141 +; always using URL stored in browser's history or bookmarks. 18.1142 +session.use_trans_sid = 0 18.1143 + 18.1144 +; Select a hash function 18.1145 +; 0: MD5 (128 bits) 18.1146 +; 1: SHA-1 (160 bits) 18.1147 +session.hash_function = 0 18.1148 + 18.1149 +; Define how many bits are stored in each character when converting 18.1150 +; the binary hash data to something readable. 18.1151 +; 18.1152 +; 4 bits: 0-9, a-f 18.1153 +; 5 bits: 0-9, a-v 18.1154 +; 6 bits: 0-9, a-z, A-Z, "-", "," 18.1155 +session.hash_bits_per_character = 5 18.1156 + 18.1157 +; The URL rewriter will look for URLs in a defined set of HTML tags. 18.1158 +; form/fieldset are special; if you include them here, the rewriter will 18.1159 +; add a hidden <input> field with the info which is otherwise appended 18.1160 +; to URLs. If you want XHTML conformity, remove the form entry. 18.1161 +; Note that all valid entries require a "=", even if no value follows. 18.1162 +url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" 18.1163 + 18.1164 +[MSSQL] 18.1165 +; Allow or prevent persistent links. 18.1166 +mssql.allow_persistent = On 18.1167 + 18.1168 +; Maximum number of persistent links. -1 means no limit. 18.1169 +mssql.max_persistent = -1 18.1170 + 18.1171 +; Maximum number of links (persistent+non persistent). -1 means no limit. 18.1172 +mssql.max_links = -1 18.1173 + 18.1174 +; Minimum error severity to display. 18.1175 +mssql.min_error_severity = 10 18.1176 + 18.1177 +; Minimum message severity to display. 18.1178 +mssql.min_message_severity = 10 18.1179 + 18.1180 +; Compatibility mode with old versions of PHP 3.0. 18.1181 +mssql.compatability_mode = Off 18.1182 + 18.1183 +; Connect timeout 18.1184 +;mssql.connect_timeout = 5 18.1185 + 18.1186 +; Query timeout 18.1187 +;mssql.timeout = 60 18.1188 + 18.1189 +; Valid range 0 - 2147483647. Default = 4096. 18.1190 +;mssql.textlimit = 4096 18.1191 + 18.1192 +; Valid range 0 - 2147483647. Default = 4096. 18.1193 +;mssql.textsize = 4096 18.1194 + 18.1195 +; Limits the number of records in each batch. 0 = all records in one batch. 18.1196 +;mssql.batchsize = 0 18.1197 + 18.1198 +; Specify how datetime and datetim4 columns are returned 18.1199 +; On => Returns data converted to SQL server settings 18.1200 +; Off => Returns values as YYYY-MM-DD hh:mm:ss 18.1201 +;mssql.datetimeconvert = On 18.1202 + 18.1203 +; Use NT authentication when connecting to the server 18.1204 +mssql.secure_connection = Off 18.1205 + 18.1206 +; Specify max number of processes. -1 = library default 18.1207 +; msdlib defaults to 25 18.1208 +; FreeTDS defaults to 4096 18.1209 +;mssql.max_procs = -1 18.1210 + 18.1211 +; Specify client character set. 18.1212 +; If empty or not set the client charset from freetds.comf is used 18.1213 +; This is only used when compiled with FreeTDS 18.1214 +;mssql.charset = "ISO-8859-1" 18.1215 + 18.1216 +[Assertion] 18.1217 +; Assert(expr); active by default. 18.1218 +;assert.active = On 18.1219 + 18.1220 +; Issue a PHP warning for each failed assertion. 18.1221 +;assert.warning = On 18.1222 + 18.1223 +; Don't bail out by default. 18.1224 +;assert.bail = Off 18.1225 + 18.1226 +; User-function to be called if an assertion fails. 18.1227 +;assert.callback = 0 18.1228 + 18.1229 +; Eval the expression with current error_reporting(). Set to true if you want 18.1230 +; error_reporting(0) around the eval(). 18.1231 +;assert.quiet_eval = 0 18.1232 + 18.1233 +[COM] 18.1234 +; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs 18.1235 +;com.typelib_file = 18.1236 +; allow Distributed-COM calls 18.1237 +;com.allow_dcom = true 18.1238 +; autoregister constants of a components typlib on com_load() 18.1239 +;com.autoregister_typelib = true 18.1240 +; register constants casesensitive 18.1241 +;com.autoregister_casesensitive = false 18.1242 +; show warnings on duplicate constant registrations 18.1243 +;com.autoregister_verbose = true 18.1244 + 18.1245 +[mbstring] 18.1246 +; language for internal character representation. 18.1247 +;mbstring.language = Japanese 18.1248 + 18.1249 +; internal/script encoding. 18.1250 +; Some encoding cannot work as internal encoding. 18.1251 +; (e.g. SJIS, BIG5, ISO-2022-*) 18.1252 +;mbstring.internal_encoding = EUC-JP 18.1253 + 18.1254 +; http input encoding. 18.1255 +;mbstring.http_input = auto 18.1256 + 18.1257 +; http output encoding. mb_output_handler must be 18.1258 +; registered as output buffer to function 18.1259 +;mbstring.http_output = SJIS 18.1260 + 18.1261 +; enable automatic encoding translation according to 18.1262 +; mbstring.internal_encoding setting. Input chars are 18.1263 +; converted to internal encoding by setting this to On. 18.1264 +; Note: Do _not_ use automatic encoding translation for 18.1265 +; portable libs/applications. 18.1266 +;mbstring.encoding_translation = Off 18.1267 + 18.1268 +; automatic encoding detection order. 18.1269 +; auto means 18.1270 +;mbstring.detect_order = auto 18.1271 + 18.1272 +; substitute_character used when character cannot be converted 18.1273 +; one from another 18.1274 +;mbstring.substitute_character = none; 18.1275 + 18.1276 +; overload(replace) single byte functions by mbstring functions. 18.1277 +; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(), 18.1278 +; etc. Possible values are 0,1,2,4 or combination of them. 18.1279 +; For example, 7 for overload everything. 18.1280 +; 0: No overload 18.1281 +; 1: Overload mail() function 18.1282 +; 2: Overload str*() functions 18.1283 +; 4: Overload ereg*() functions 18.1284 +;mbstring.func_overload = 0 18.1285 + 18.1286 +; enable strict encoding detection. 18.1287 +;mbstring.strict_detection = Off 18.1288 + 18.1289 +[FrontBase] 18.1290 +;fbsql.allow_persistent = On 18.1291 +;fbsql.autocommit = On 18.1292 +;fbsql.show_timestamp_decimals = Off 18.1293 +;fbsql.default_database = 18.1294 +;fbsql.default_database_password = 18.1295 +;fbsql.default_host = 18.1296 +;fbsql.default_password = 18.1297 +;fbsql.default_user = "_SYSTEM" 18.1298 +;fbsql.generate_warnings = Off 18.1299 +;fbsql.max_connections = 128 18.1300 +;fbsql.max_links = 128 18.1301 +;fbsql.max_persistent = -1 18.1302 +;fbsql.max_results = 128 18.1303 + 18.1304 +[gd] 18.1305 +; Tell the jpeg decode to libjpeg warnings and try to create 18.1306 +; a gd image. The warning will then be displayed as notices 18.1307 +; disabled by default 18.1308 +;gd.jpeg_ignore_warning = 0 18.1309 + 18.1310 +[exif] 18.1311 +; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 18.1312 +; With mbstring support this will automatically be converted into the encoding 18.1313 +; given by corresponding encode setting. When empty mbstring.internal_encoding 18.1314 +; is used. For the decode settings you can distinguish between motorola and 18.1315 +; intel byte order. A decode setting cannot be empty. 18.1316 +;exif.encode_unicode = ISO-8859-15 18.1317 +;exif.decode_unicode_motorola = UCS-2BE 18.1318 +;exif.decode_unicode_intel = UCS-2LE 18.1319 +;exif.encode_jis = 18.1320 +;exif.decode_jis_motorola = JIS 18.1321 +;exif.decode_jis_intel = JIS 18.1322 + 18.1323 +[Tidy] 18.1324 +; The path to a default tidy configuration file to use when using tidy 18.1325 +;tidy.default_config = /usr/local/lib/php/default.tcfg 18.1326 + 18.1327 +; Should tidy clean and repair output automatically? 18.1328 +; WARNING: Do not use this option if you are generating non-html content 18.1329 +; such as dynamic images 18.1330 +tidy.clean_output = Off 18.1331 + 18.1332 +[soap] 18.1333 +; Enables or disables WSDL caching feature. 18.1334 +soap.wsdl_cache_enabled=1 18.1335 +; Sets the directory name where SOAP extension will put cache files. 18.1336 +soap.wsdl_cache_dir="/tmp" 18.1337 +; (time to live) Sets the number of second while cached file will be used 18.1338 +; instead of original one. 18.1339 +soap.wsdl_cache_ttl=86400 18.1340 + 18.1341 +; Local Variables: 18.1342 +; tab-width: 4 18.1343 +; End:
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/tank/overlay/etc/rcS.conf Sat Aug 27 18:30:55 2011 +0000 19.3 @@ -0,0 +1,55 @@ 19.4 +# /etc/rcS.conf - Initial boot script configuration for SliTaz GNU/Linux. 19.5 +# Config file used by /etc/init.d/rcS 19.6 +# 19.7 + 19.8 +# Use udev to populate /dev and handle hotplug events. 19.9 +UDEV="yes" 19.10 + 19.11 +# Clean up the system removing all tmp and pid files. 19.12 +CLEAN_UP_SYSTEM="yes" 19.13 + 19.14 +# Filesystems to check integrity of at boot time. You should check the 19.15 +# rootfs (where SliTaz is installed) and all partitions listed in 19.16 +# /etc/fstab. Example: CHECK_FS="/dev/hda5 /dev/hdb1" 19.17 +CHECK_FS="" 19.18 + 19.19 +# Fast boot into X by setting the system keymap-locale and starting 19.20 +# the Slim login manager earlier at boot time. If fast X is enabled 19.21 +# then dbus, hald and slim can be removed from RUN_DAEMONS. 19.22 +FAST_BOOT_X="no" 19.23 + 19.24 +# Graphical boot with fbsplash (To easily configure use: tazfbsplash) 19.25 +FBSPLASH="no" 19.26 +FBSPLASH_THEME="slitaz" 19.27 + 19.28 +# Start Kernel log daemons (syslogd and klogd). 19.29 +KERNEL_LOG_DAEMONS="yes" 19.30 +SYSLOGD_ROTATED_SIZE="60" 19.31 + 19.32 +# Kernel modules to automatically load at boot time. You can use 'modprobe -l' 19.33 +# to get a list of all kernel modules available. 19.34 +# 19.35 +# For Intel and some Nvidia sound cards : snd_intel8x0 snd_intel8x0m snd_hda_intel 19.36 +# 19.37 +LOAD_MODULES="" 19.38 + 19.39 +# Automaticaly recharge packages list on each boot and in background. 19.40 +# If new packages or upgrade are avalaible they will be notified with 19.41 +# tazpkg-notify. Here we just recharge list, we dont install anything 19.42 +# since root user should check visualy packages that will be upgraded. 19.43 +RECHARGE_PACKAGES_LIST="no" 19.44 + 19.45 +# Initialization scripts to run at boot time. Boot order is important: 19.46 +# bootopts.sh (boot options) must start first, hwconf.sh after network.sh (tazx 19.47 +# needs an active connection to install Xorg), then you are free to choose. 19.48 +# Note that the local.sh script exists to let you quickly add some local startup 19.49 +# commands. 19.50 +RUN_SCRIPTS="bootopts.sh network.sh system.sh local.sh" 19.51 + 19.52 +# Daemons to start at boot time. SliTaz only provides a few daemons: firewall, 19.53 +# Web server (httpd), SSH server (dropbear) and rsyncd, so boot order is 19.54 +# not really important, but dbus/hald should be started before slim. 19.55 +RUN_DAEMONS="dbus hald slim tazpanel" 19.56 + 19.57 +# Pre login bold message. 19.58 +MESSAGE="Welcome to your box."
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/tank/overlay/etc/xdg/openbox/autostart.sh Sat Aug 27 18:30:55 2011 +0000 20.3 @@ -0,0 +1,35 @@ 20.4 +# This shell script is run before Openbox launches. 20.5 +# Environment variables set here are passed to the Openbox session. 20.6 + 20.7 +# DBUS message bus (automount removable devices) 20.8 +dbus-launch --exit-with-session & 20.9 + 20.10 +# Handle Hal events with Ivman (notification with desktopbox). 20.11 +#ivman & 20.12 + 20.13 +# Start PCmanFM as daemon for Wallpaper and desktop icons. 20.14 +pcmanfm -d & 20.15 + 20.16 +# Start the Freedesktop panel standard menu. 20.17 +lxpanel & 20.18 + 20.19 +# Packages update notification 20.20 +tazpkg-notify & 20.21 + 20.22 +# Start Parcellite clipboard manager. 20.23 +#parcellite & 20.24 + 20.25 +# Launch Xpad desktop notes utility. 20.26 +#xpad & 20.27 + 20.28 +# Desktop effects composer. 20.29 +#xcompmgr -c -r 10 & 20.30 + 20.31 +# Set a background image using hsetroot (depends on imlib2). 20.32 +#hsetroot -fill /usr/share/images/slitaz-background.png & 20.33 + 20.34 +# Background color with xsetroot. 20.35 +#xsetroot -solid "#222222" & 20.36 + 20.37 +# Wbar2 icon bar 20.38 +#$(sleep 3 && wbar) &
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 21.2 +++ b/tank/rootcd/README Sat Aug 27 18:30:55 2011 +0000 21.3 @@ -0,0 +1,66 @@ 21.4 +README SliTaz GNU/Linux CD November 2010 21.5 +=============================================================================== 21.6 + 21.7 + 21.8 +Français 21.9 +-------- 21.10 +Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 21.11 +(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 21.12 +actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 21.13 +peut fonctionner dans 144 Mb de mémoire vive et sur des machines sans disque dur. 21.14 +Mais SliTaz est aussi pleinement installable sur un disque dur et largement 21.15 +extensible via le gestionnaire de paquets et la compilation de nouvelles 21.16 +applications depuis les sources. 21.17 + 21.18 +Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 21.19 +le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 21.20 +fournit plus de 200 commandes Linux, navigateur web, client de chat IRC, 21.21 +support IDE, eth0, usb, le système X et bien plus {...}. 21.22 + 21.23 +SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 21.24 +hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable 21.25 +avec l'outil slitaz-installer. 21.26 + 21.27 +Slitaz GNU/Linux est distribué sans aucune garantie et publié car 21.28 +potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 21.29 +passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 21.30 +le système vous trouverez le manuel d'utilisateur et la documentation dans : 21.31 +/usr/share/doc, et les licences complète dans : /usr/share/licenses. 21.32 + 21.33 +Havefun! 21.34 + 21.35 + 21.36 +English 21.37 +------- 21.38 +SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 21.39 +free software. SliTaz also use goodies from the Debian project. The goal of 21.40 +SliTaz is to have a GNU/Linux distro working entirely in memory (RAM). SliTaz 21.41 +boots with Syslinux, provides more than 200 Linux commands, a SSH server/client 21.42 +powered by Dropbear, rescue tools, and much more {...}. 21.43 + 21.44 +On the system you will find documentation in /usr/share/doc, and the full 21.45 +GPL license in /usr/share/licenses. 21.46 + 21.47 + 21.48 +LICENSE 21.49 +------- 21.50 + 21.51 +Copyright (c) 2007 SliTaz GNU/Linux 21.52 + 21.53 +SliTaz is free software; you can redistribute it and/or modify 21.54 +it under the terms of the GNU General Public License as published by 21.55 +the Free Software Foundation; either version 3 of the License, or 21.56 +(at your option) any later version. 21.57 + 21.58 +SliTaz is distributed in the hope that it will be useful, 21.59 +but WITHOUT ANY WARRANTY; without even the implied warranty of 21.60 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21.61 +GNU General Public License for more details. 21.62 + 21.63 +You should have received a copy of the GNU General Public License 21.64 +along with SliTaz; if not, write to the Free Software 21.65 +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21.66 + 21.67 + 21.68 +=============================================================================== 21.69 + http://www.slitaz.org/
22.1 Binary file tank/rootcd/images/header.png has changed
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 23.2 +++ b/tank/rootcd/index.html Sat Aug 27 18:30:55 2011 +0000 23.3 @@ -0,0 +1,64 @@ 23.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 23.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 23.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 23.7 +<head> 23.8 + <title>SliTaz GNU/Linux - CD</title> 23.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 23.10 + <meta name="description" content="SliTaz documentation book" /> 23.11 + <meta name="expires" content="never" /> 23.12 + <meta name="modified" content="2007-10-07 20:30:00" /> 23.13 + <meta name="publisher" content="www.slitaz.org" /> 23.14 + <meta name="author" content="Christophe Lincoln"/> 23.15 + <link rel="stylesheet" type="text/css" href="style.css" /> 23.16 +</head> 23.17 +<body bgcolor="#ffffff"> 23.18 +<!-- Header --> 23.19 +<div id="header"> 23.20 + <a name="top"></a> 23.21 + <h1>SliTaz GNU/Linux - CD</h1> 23.22 +</div> 23.23 + 23.24 +<!-- Content --> 23.25 +<div id="content"> 23.26 +<h2><font color="#DF8F06">LiveCD informations</font></h2> 23.27 + 23.28 +<h3><font color="#9c2424">Français</font></h3> 23.29 +<p> 23.30 +Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 23.31 +fichier <a href="README">README</a> pour de plus amples informations, ou 23.32 +démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 23.33 +lancer SliTaz en RAM et sans risques pour la machine hôte. 23.34 +</p> 23.35 + 23.36 +<h3><font color="#9c2424">English</font></h3> 23.37 +<p> 23.38 +Welcome to the SliTaz GNU/Linux cdrom. SliTaz is mostly documented in French, 23.39 +but the full system is available in English. To boot SliTaz from a cdrom 23.40 +just burn the ISO image onto a blank disc. Then reboot your computer with 23.41 +the disc in your cdrom drive. 23.42 +</p> 23.43 +<p> 23.44 +Have fun!<br /> 23.45 +- SliTaz community 23.46 +</p> 23.47 + 23.48 +</div> 23.49 +<!-- End content --> 23.50 +<hr /> 23.51 +<!-- Footer --> 23.52 +<div align="center" id="footer"> 23.53 +<p> 23.54 +<font size="-1"> 23.55 + <a href="#top">Haut de la page</a> 23.56 +</font> 23.57 +</p> 23.58 +<p> 23.59 +<font size="-1"> 23.60 + Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 23.61 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 23.62 + Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 23.63 +</font> 23.64 +</p> 23.65 +</div> 23.66 +</body> 23.67 +</html>
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 24.2 +++ b/tank/rootcd/style.css Sat Aug 27 18:30:55 2011 +0000 24.3 @@ -0,0 +1,57 @@ 24.4 +/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 24.5 +body { 24.6 + font: 90% sans-serif, vernada, arial; 24.7 + margin: 0; 24.8 + } 24.9 +/* Header */ 24.10 +#header{ 24.11 + background: #BFB06B url(images/header.png) repeat-x top; 24.12 + color: black; 24.13 + width: 100%; 24.14 + height: 50px ; 24.15 + border-top: 1px solid black; 24.16 + border-bottom: 1px solid black; 24.17 + } 24.18 +#content { 24.19 + margin: 0px 50px 26px 50px; 24.20 + } 24.21 +#footer { 24.22 + border-top: 1px solid black; 24.23 + } 24.24 +a { 24.25 + text-decoration: underline; 24.26 + } 24.27 +a:hover { 24.28 + text-decoration: none; 24.29 + } 24.30 +h1 { 24.31 + margin: 10px 0px 0px 6px; 24.32 + } 24.33 +h2 { 24.34 + margin: 12px 0; 24.35 + } 24.36 +pre { 24.37 + padding: 5px; 24.38 + color: black; 24.39 + background: #e1e0b0; 24.40 + } 24.41 +pre.script { 24.42 + padding: 10px; 24.43 + color: black; 24.44 + background: #e8e8e8; 24.45 + border: 1px inset #333333; 24.46 +} 24.47 +li { 24.48 + line-height: 1.4em; 24.49 + } 24.50 +code { 24.51 + font-size: 100%; 24.52 + color: #669900; 24.53 + background: transparent; 24.54 + } 24.55 +hr { 24.56 + color: white; 24.57 + background-color: white; 24.58 + height: 1px; 24.59 + border: 0; 24.60 + }