Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_Alert
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_Alert
Commits
23012bcd
Commit
23012bcd
authored
14 years ago
by
Brett Bieber
Browse files
Options
Downloads
Patches
Plain Diff
Modify paths to reflect new source layout.
parent
4ef1918e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
admin_auth.php
+1
-1
1 addition, 1 deletion
admin_auth.php
configsample.inc.php
+4
-4
4 additions, 4 deletions
configsample.inc.php
with
5 additions
and
5 deletions
admin_auth.php
+
1
−
1
View file @
23012bcd
...
...
@@ -2,7 +2,7 @@
require_once
'DB/DataObject.php'
;
require_once
'UNL/Auth.php'
;
require_once
'
config.inc.php'
;
require_once
dirname
(
__FILE__
)
.
'/
config.inc.php'
;
$a
=
UNL_Auth
::
factory
(
'SimpleCAS'
);
$a
->
login
();
...
...
This diff is collapsed.
Click to expand it.
configsample.inc.php
+
4
−
4
View file @
23012bcd
...
...
@@ -2,7 +2,7 @@
// To rebuild dataobjects: /usr/local/php/bin/php /usr/local/php/lib/php/DB/DataObject/createTables.php ~/uptodate_DB_DataObject.ini
require_once
(
'DB/DataObject/FormBuilder.php'
);
require_once
(
'
displayAlerts.php'
);
require_once
(
dirname
(
__FILE__
)
.
'/www/
displayAlerts.php'
);
$GLOBALS
[
'database'
]
=
'alerts'
;
$GLOBALS
[
'username'
]
=
'alerts'
;
...
...
@@ -13,9 +13,9 @@ $dsn='mysqli://'.$GLOBALS['username'].':'.$GLOBALS['password'].'@'.$GLOBALS['dbh
$options
=
&
PEAR
::
getStaticProperty
(
'DB_DataObject'
,
'options'
);
$options
=
array
(
'database'
=>
$dsn
,
'schema_location'
=>
'/var/www/html
/DataObjects'
,
'class_location'
=>
'/var/www/html
/DataObjects'
,
'require_prefix'
=>
'
DataObjects/'
,
'schema_location'
=>
dirname
(
__FILE__
)
.
'/src
/DataObjects'
,
'class_location'
=>
dirname
(
__FILE__
)
.
'/src
/DataObjects'
,
'require_prefix'
=>
dirname
(
__FILE__
)
.
'/src/
DataObjects/'
,
'class_prefix'
=>
'DataObjects_'
,
'backend'
=>
'mdb2'
);
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