Stats client for Faculty Deposit has hardocded server reference

Project:RUcore Statistics
Version:5.3
Component:Code
Category:bug report
Priority:normal
Assigned:jgeng
Status:closed
Description

For the next release remove the hard coded server reference found in rufd/stats_client/index.php when calling the jquery.js library.

Comments

#1

Status:active» test

Fixed.

#2

Assigned to:jgeng» chadmills

Chad,

Please test this when you get a chance.

#3

Assigned to:chadmills» jgeng
Status:test» active

Please change the reference to the jquery.js file.

Currently it is set as:

<script type="text/javascript" src="http://<?php echo $serverbase; ?>/rucore/js/lib/jquery.js"></script>

On production the files will not be under /rucore/ it will be under /

#4

Chad,
Why is different? should I remove /rucore?

#5

Jie,

If $serverbase is mss3.libraries.rutgers.edu in production you don;t need to. If it changes to rucore.libraries.rutgers.edu then you would. Thinking about it more it is probably mss3.libraries.rutgers.edu. If that is the case then this is perfect as is. Please confirm.

Thanks,
Chad

#6

Status:active» test

Chad,

I think in both case it should be OK. rucore directory should always under the root. I don't think if we use rucore.libraries.rutgers.edu as server base, we would move rucore up. please confirm.

Jie

#7

Status:test» fixed

Ok great. I am going to close this out then. Thanks!

#8

Status:fixed» closed

See Chad's comment.

Back to top