From: jumpin-banana Date: Wed, 24 Mar 2010 13:02:50 +0000 (+0100) Subject: updates X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=e3a2b3979af8be42373809d09d354624c285ead3;p=dolphin.git updates --- diff --git a/simple-framework/.htaccess b/simple-framework/.htaccess new file mode 100644 index 0000000..8f6b9b6 --- /dev/null +++ b/simple-framework/.htaccess @@ -0,0 +1,4 @@ +php_flag magic_quotes_gpc off +php_flag default_charset utf-8 + +Options +FollowSymlinks -Indexes diff --git a/simple-framework/conf/db.php b/simple-framework/conf/db.php index cace352..80cc1e6 100644 --- a/simple-framework/conf/db.php +++ b/simple-framework/conf/db.php @@ -1,4 +1,22 @@ . +*/ + define('DB_TYPE','mysqli'); // Pdo_mysql has a bug with '?' define('DB_HOST','localhost'); define('DB_DATABASE','db-name'); diff --git a/simple-framework/conf/main.php b/simple-framework/conf/main.php index b780cd5..32e51f4 100644 --- a/simple-framework/conf/main.php +++ b/simple-framework/conf/main.php @@ -1,4 +1,21 @@ . +*/ // to get the system messages make it true define('DEBUG',true); diff --git a/simple-framework/index.php b/simple-framework/index.php index 751ea78..8c114f9 100644 --- a/simple-framework/index.php +++ b/simple-framework/index.php @@ -1,21 +1,21 @@ . +*/ mb_internal_encoding("UTF-8"); diff --git a/simple-framework/lib/function.library.php b/simple-framework/lib/function.library.php index 6d2aa9c..8af9f2e 100644 --- a/simple-framework/lib/function.library.php +++ b/simple-framework/lib/function.library.php @@ -1,4 +1,23 @@ . +*/ + + /** * validate given string if it is in given format * diff --git a/simple-framework/site/script/start.php b/simple-framework/site/script/start.php index 92c9840..809d35c 100644 --- a/simple-framework/site/script/start.php +++ b/simple-framework/site/script/start.php @@ -1,8 +1,26 @@ . +*/ + // do something: $var = 1; -$var-new = $var+1; +$var_new = $var+1; // fill the $data variable $data['test'] = "hallo";