Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
177fd273
Commit
177fd273
authored
13 years ago
by
Jakob Sack
Browse files
Options
Downloads
Patches
Plain Diff
Make OC_CONFIG working again
parent
fc330944
No related branches found
Branches containing commit
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/base.php
+0
-3
0 additions, 3 deletions
lib/base.php
lib/config.php
+3
-3
3 additions, 3 deletions
lib/config.php
with
3 additions
and
6 deletions
lib/base.php
+
0
−
3
View file @
177fd273
...
...
@@ -56,14 +56,11 @@ if( !isset( $RUNTIME_NOAPPS )){
}
// define default config values
$CONFIG_INSTALLED
=
false
;
$CONFIG_DATADIRECTORY
=
$SERVERROOT
.
'/data'
;
$CONFIG_BACKUPDIRECTORY
=
$SERVERROOT
.
'/backup'
;
$CONFIG_HTTPFORCESSL
=
false
;
$CONFIG_ENABLEBACKUP
=
false
;
$CONFIG_DATEFORMAT
=
'j M Y G:i'
;
$CONFIG_DBNAME
=
'owncloud'
;
$CONFIG_DBTYPE
=
'sqlite'
;
$CONFIG_FILESYSTEM
=
array
();
// include the generated configfile
...
...
This diff is collapsed.
Click to expand it.
lib/config.php
+
3
−
3
View file @
177fd273
...
...
@@ -126,8 +126,8 @@ class OC_CONFIG{
*
* Reads the config file and saves it to the cache
*/
private
static
function
readData
(
$key
){
if
(
!
self
::
$init
){
private
static
function
readData
(){
if
(
self
::
$init
){
return
true
;
}
...
...
@@ -155,7 +155,7 @@ class OC_CONFIG{
*
* Known flaws: Strings are not escaped properly
*/
public
static
function
writeData
(
$key
){
public
static
function
writeData
(){
// We need the serverroot path
global
$SERVERROOT
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment